Skip to content

Commit 6a30017

Browse files
author
Tim Starling
committed
Backported r53159 to 1.14 and 1.15
1 parent 46c519a commit 6a30017

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RELEASE-NOTES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
2626
ForeignAPIRepo.
2727
* Fixed the "change password" link on Special:Preferences to have the correct
2828
returnto parameter.
29+
* (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
2930

3031
=== Changes since 1.15.0rc1 ===
3132

includes/specials/SpecialBlockip.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ private function getConvenienceLinks() {
632632
*/
633633
private function getContribsLink( $skin ) {
634634
$contribsPage = SpecialPage::getTitleFor( 'Contributions', $this->BlockAddress );
635-
return $skin->link( $contribsPage, wfMsgHtml( 'ipb-blocklist-contribs', $this->BlockAddress ) );
635+
return $skin->link( $contribsPage, wfMsgExt( 'ipb-blocklist-contribs', 'escape', $this->BlockAddress ) );
636636
}
637637

638638
/**

0 commit comments

Comments
 (0)