mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-12 08:49:28 +00:00
Add HTML entity decoding to AbuseFilter ccnorm() function
This commit is contained in:
parent
9b90ea6e5a
commit
55c83ea218
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue