Fix double-escaping
authorRob Church <robchurch@users.mediawiki.org>
Wed, 18 Jul 2007 19:48:43 +0000 (19:48 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Wed, 18 Jul 2007 19:48:43 +0000 (19:48 +0000)
includes/SpecialImport.php

index 7b1d68b..c694e2b 100644 (file)
@@ -94,7 +94,7 @@ function wfSpecialImport( $page = '' ) {
                }
        }
 
-       $action = $wgTitle->escapeLocalUrl( 'action=submit' );
+       $action = $wgTitle->getLocalUrl( 'action=submit' );
 
        if( $wgUser->isAllowed( 'importupload' ) ) {
                $wgOut->addWikiText( wfMsg( "importtext" ) );