X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Flibs%2FIEUrlExtension.php;h=216d9b78604c6c8802f63cf52ddc53c57162e7e2;hb=480ab87dbc2974ad9465af2808f21bf83397142e;hp=79387e632d589517d8a2ea6ad40d67ff559bb54e;hpb=bbd9c84e10add1a694f4fba3b1917c59f1310fd5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/IEUrlExtension.php b/includes/libs/IEUrlExtension.php index 79387e632d..216d9b7860 100644 --- a/includes/libs/IEUrlExtension.php +++ b/includes/libs/IEUrlExtension.php @@ -119,7 +119,6 @@ class IEUrlExtension { if ( !preg_match( '/^[a-zA-Z0-9_-]+$/', $extension ) ) { // Non-alphanumeric extension, unlikely to be registered. - // // The regex above is known to match all registered file extensions // in a default Windows XP installation. It's important to allow // extensions with ampersands and percent signs, since that reduces @@ -232,7 +231,7 @@ class IEUrlExtension { } // We found an illegal character or another dot // Skip to that character and continue the loop - $pos = $nextPos + 1; + $pos = $nextPos; $remainingLength = $urlLength - $pos; } return false;