Fix URL regex

Removes unwise characters from URL regex. These characters should be percent escaped according to RFC 2396.

Fixes #1243
Merge pull request #62 from Express50/issue_1243

Fix URL regex