Stops strange hyperlinks from causing a crash

To test, type a URL with a lone % somewhere in it.