* (bug 28627) External link normalization now handles file: URL cases without throwin...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 25 Apr 2011 21:00:49 +0000 (21:00 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 25 Apr 2011 21:00:49 +0000 (21:00 +0000)
commit6fff535d08d243879e74186162f755887616b51d
tree4ae0f4b3c239faad118bf8af059b6ba8c003d71a
parentdc1fb0db42a6cb664fd4fd796ad4814e4ab723f9
* (bug 28627) External link normalization now handles file: URL cases without throwing notice warnings.

Added some test cases for wfMakeUrlIndex() to GlobalTests (tweaks $wgUrlProtocols to toss in file:// support so it can test them).
Needs more cases for other URL styles probably; some of the more pathological file: URL cases still won't normalize really cleanly but will go through the function without exploding. The most-needed variants will be the Windows/IE-compatible ones I think -- so file:///c:/foo or file://server/foo.
RELEASE-NOTES
includes/GlobalFunctions.php
tests/phpunit/includes/GlobalTest.php