r112536 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112535‎ | r112536 | r112537 >
Date:22:49, 27 February 2012
Author:reedy
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf/1.19wmf1 (modified) (history)
  • /branches/wmf/1.19wmf1/includes (modified) (history)
  • /branches/wmf/1.19wmf1/includes/MessageBlobStore.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/includes/MessageBlobStore.php
@@ -353,12 +353,7 @@
354354 $messages = array();
355355
356356 foreach ( $module->getMessages() as $key ) {
357 - $messages[$key] =
358 - Sanitizer::normalizeCharReferences(
359 - Sanitizer::removeHTMLtags(
360 - wfMsgExt( $key, array( 'language' => $lang ) )
361 - )
362 - );
 357+ $messages[$key] = wfMsgExt( $key, array( 'language' => $lang ) );
363358 }
364359
365360 return FormatJson::encode( (object)$messages );
Property changes on: branches/wmf/1.19wmf1/includes
___________________________________________________________________
Modified: svn:mergeinfo
366361 Merged /trunk/phase3/includes:r112526
Property changes on: branches/wmf/1.19wmf1
___________________________________________________________________
Modified: svn:mergeinfo
367362 Merged /trunk/phase3:r112526

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112526Revert r110045: well-meaning but broken attempt to apply preemptive XSS prote...brion21:52, 27 February 2012

Status & tagging log