r108807 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108806‎ | r108807 | r108808 >
Date:13:30, 13 January 2012
Author:ialex
Status:ok
Tags:
Comment:
Fix for r108376: the whole string is already espcaed on output, no need to escape it twice
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -813,7 +813,7 @@
814814 $this->mPagetitle = $nameWithTags;
815815
816816 # change "<i>foo&amp;bar</i>" to "foo&bar"
817 - $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( Sanitizer::stripAllTags( $nameWithTags ) )->escaped() );
 817+ $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( Sanitizer::stripAllTags( $nameWithTags ) ) );
818818 }
819819
820820 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108376Fix double-escaping in 108312krinkle00:15, 9 January 2012

Status & tagging log