r56296 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56295‎ | r56296 | r56297 >
Date:11:33, 14 September 2009
Author:werdna
Status:resolved
Tags:
Comment:
Add HTML entity decoding to AbuseFilter ccnorm() function
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilter.parser.php (modified) (history)

Diff [purge]

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

Follow-up revisions

RevisionCommit summaryAuthorDate
r56355Follow-up to r56296, replace htmlspecialchars_decode with html_entity_decode.werdna10:25, 15 September 2009
r56377Merge AbuseFilter r56296 r56355brion18:02, 15 September 2009

Status & tagging log