Index: trunk/extensions/SemanticForms/specials/SF_UploadWindow.php |
— | — | @@ -835,7 +835,7 @@ |
836 | 836 | $iw = wfMsgWikiHtml( 'ignorewarning' ); |
837 | 837 | $reup = wfMsgWikiHtml( 'reuploaddesc' ); |
838 | 838 | $titleObj = SpecialPage::getTitleFor( 'Upload' ); |
839 | | - $action = $titleObj->escapeLocalURL( 'action=submit' ); |
| 839 | + $action = htmlspecialchars( $titleObj->getLocalURL( 'action=submit' ) ); |
840 | 840 | $align1 = $wgContLang->isRTL() ? 'left' : 'right'; |
841 | 841 | $align2 = $wgContLang->isRTL() ? 'right' : 'left'; |
842 | 842 | |
— | — | @@ -965,7 +965,7 @@ |
966 | 966 | |
967 | 967 | |
968 | 968 | $titleObj = SpecialPage::getTitleFor( 'UploadWindow' ); |
969 | | - $action = $titleObj->escapeLocalURL(); |
| 969 | + $action = htmlspecialchars( $titleObj->getLocalURL() ); |
970 | 970 | |
971 | 971 | $encDestName = htmlspecialchars( $this->mDesiredDestName ); |
972 | 972 | |