Patch for otherwise valid URLs being corrupted

For whatever reason, completely valid HTTP links are getting decimated by these regexes. I fixed it.