I am trying to include long URLs in a bibliography, but those often overflow into the margin of the document. I have seen a number of questions about breaking URLs in bibliography, but after trying every solution, I have not found anything that completely solves my problem. There are apparently a number of ways to allow LaTeX to break line at different places in URLs. But in my case, even though L
![URLs in bibliography: LaTeX not breaking line as expected](https://cdn-ak-scissors.b.st-hatena.com/image/square/5792ee9d97c6b73b14d30bea016d8e5c0793e345/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Ftex%2FImg%2Fapple-touch-icon%402.png%3Fv%3Deaf26b461720)