URLs in Latex and hyperref
The url package in Latex does a good job of formatting URLs and breaking them over lines when need be. Unfortunately, when you use hyperref, the package which makes PDF links and stuff work, the breaking over line functionality… breaks.
The solution of this problem is described in the FAQ. Basically, you need to get the breakurl package, a link for which is in the FAQ entry.