encode pathname when necessary on browsers that supply it decoded
Only double-encode on Qt
Merge pull request #466 from rstudio/bugfix/space-urls

Encode pathname when necessary on browsers that supply it decoded