From 09e84a61e6a6fe0e4b835b0db8a0bdb92843ee87 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Wed, 18 Jul 2007 19:48:43 +0000 Subject: [PATCH] Fix double-escaping --- includes/SpecialImport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialImport.php b/includes/SpecialImport.php index 7b1d68b73f..c694e2bf56 100644 --- a/includes/SpecialImport.php +++ b/includes/SpecialImport.php @@ -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" ) ); -- 2.20.1