Add HTML entity decoding to AbuseFilter ccnorm() function

This commit is contained in:
Andrew Garrett 2009-09-14 11:33:44 +00:00
parent 9b90ea6e5a
commit 55c83ea218

View file

@ -1373,6 +1373,7 @@ class AbuseFilterParser {
array( 'ccnorm', 1, count($args) ) );
$s = $args[0]->toString();
$s = htmlspecialchars_decode($s);
$s = $this->ccnorm( $s );
return new AFPData( AFPData::DString, $s );