How to prevent \url from removing the spaces in a path?
Add the following load order to your preamble:
\usepackage[obeyspaces]{url}% http://ctan.org/pkg/url
\usepackage{hyperref}% http://ctan.org/pkg/hyperref
See the UK TeX FAQ entry Typesetting URLs. Or, since hyperref
loads url
by default, perhaps with other package options, use:
\PassOptionsToPackage{obeyspaces}{url}% ~ \usepackage[...,obeyspaces]{url}
\usepackage{hyperref}% http://ctan.org/pkg/hyperref
See Option clash for package, also from the UK TeX FAQ.