Merge "Avoid bogus IE extension check errors in img_auth.php"
[lhc/web/wiklou.git] / img_auth.php
index 64086be..a3485df 100644 (file)
@@ -73,7 +73,7 @@ function wfImageAuthMain() {
 
        // Check for bug 28235: QUERY_STRING overriding the correct extension
        $whitelist = array();
-       $extension = FileBackend::extensionFromPath( $path );
+       $extension = FileBackend::extensionFromPath( $path, 'rawcase' );
        if ( $extension != '' ) {
                $whitelist[] = $extension;
        }