Guard against parse_url() returning weird things in wfParseUrl(). This is not a probl...
authorRoan Kattouw <catrope@users.mediawiki.org>
Fri, 12 Aug 2011 14:45:37 +0000 (14:45 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Fri, 12 Aug 2011 14:45:37 +0000 (14:45 +0000)
commit0be893412662c8b55e7c688fe679593999516d53
tree81284f727b85c2529e373be82028f67fcc5a305c
parent894bdaabe4e6116af1af67e77a0dd60d5706c266
Guard against parse_url() returning weird things in wfParseUrl(). This is not a problem in practice unless you mess up your local copy badly enough that it tries to do wfParseUrl("%0Aexample.com") like mine just did, but wfParseUrl() should handle all invalid input gracefully without throwing notices.
includes/GlobalFunctions.php