@roman I just meant that there are always going to be edge cases no matter what. So no, I'm not doing any preprocessing. The post field accepts HTML, so if you have to link to some really really weird URL, you could always wrap it in an <a> tag.
I do know about the user:password part, but I haven't ever seen it used in real life for HTTP, though it'd probably correspond to basic auth?