symphonycms/symphony-2 — pull request #1167 by kanduvisla (2012-03-13 21:47:02+00:00)
Title: Validate URL parameters before adding them to the XML

This commit is my second attempt to fix issue #872 where 'exotic' characters where putted in the XML, while they knew they where invalid! Those sneaky bastards!

It fixes the whole _'Each symphony site in the world crashes when you add something like `?a=%0C` after the URL'_-story.

My first attempt was to validate all XML, but while this was the most bulletproof solution, it also was the most CPU-cycle intensive...

However, this still my cause a problem when the same parameters are sent to forms on Symphony websites with POST-variables. I'll try to look into that later...