r56377 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56376‎ | r56377 | r56378 >
Date:18:02, 15 September 2009
Author:brion
Status:deferred
Tags:
Comment:
Merge AbuseFilter r56296 r56355
Modified paths:
  • /branches/wmf-deployment-work/extensions/AbuseFilter/AbuseFilter.parser.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment-work/extensions/AbuseFilter/AbuseFilter.parser.php
@@ -1373,6 +1373,7 @@
13741374 array( 'ccnorm', 1, count($args) ) );
13751375 $s = $args[0]->toString();
13761376
 1377+ $s = html_entity_decode($s, ENT_QUOTES, 'UTF-8');
13771378 $s = $this->ccnorm( $s );
13781379
13791380 return new AFPData( AFPData::DString, $s );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56296Add HTML entity decoding to AbuseFilter ccnorm() functionwerdna11:33, 14 September 2009
r56355Follow-up to r56296, replace htmlspecialchars_decode with html_entity_decode.werdna10:25, 15 September 2009

Status & tagging log