ensure urls are created correctly (bug 1021991)
Merge pull request #2199 from andymckay/1021991-fix-url

ensure urls are created correctly (bug 1021991)