urls can begin with / if they are on the same server
Merge pull request #1866 from visit1985/valid_urls

urls can begin with / if they are on the same server