When using biblatex with a long URL without many forward slashes the URL overflows outside of the margins of the page.
For example:
references.bib
@online{ons,
author = "Office for National Statistics",
title = "Overview of the UK population: July 2017",
url = {https://www.ons.gov.uk/peoplepopulationandcommunity/populationandmigration/populationestimates/articles/overviewoftheukpopulation/july2017},
year = "2017"
}
main.tex
\documentclass[12pt,a4paper]{article}
\usepackage[style=ieee,citestyle=ieee,dashed=false]{biblatex}
\addbibresource{references.bib}
\begin{document}
Lots of text
...
\cite{ons}
\newpage
\printbibliography
\end{document}
Produces the following result:

How can this be fixed?

Office for National Statisticsin an additional pair of braces (https://tex.stackexchange.com/q/10808/35864):author = {{Office for National Statistics}},. You should also protectUKandJulyin thetitlefrom unwanted case change:title = {Overview of the {UK} population: {July} 2017},(https://tex.stackexchange.com/q/10772/35864). – moewe Apr 10 '19 at 17:52