https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108376
Revision: 108376
Author: krinkle
Date: 2012-01-09 00:15:38 +0000 (Mon, 09 Jan 2012)
Log Message:
-----------
Fix double-escaping in 108312
Modified Paths:
--------------
trunk/phase3/includes/OutputPage.php
Modified: trunk/phase3/includes/OutputPage.php
===================================================================
--- trunk/phase3/includes/OutputPage.php 2012-01-08 23:46:33 UTC (rev
108375)
+++ trunk/phase3/includes/OutputPage.php 2012-01-09 00:15:38 UTC (rev
108376)
@@ -813,7 +813,7 @@
$this->mPagetitle = $nameWithTags;
# change "<i>foo&bar</i>" to "foo&bar"
- $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams(
htmlspecialchars( Sanitizer::stripAllTags( $nameWithTags ) ) ) );
+ $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams(
Sanitizer::stripAllTags( $nameWithTags ) )->escaped() );
}
/**
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs