mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-18 00:20:37 +00:00
* (bug 24109) Add regex escaping function to abuse filter
This commit is contained in:
parent
4e578cac93
commit
9075e03709
Notes:
Raimond Spekking
2012-03-12 20:46:25 +00:00
|
@ -70,6 +70,7 @@ class AbuseFilter {
|
|||
'substr(subject, offset, length)' => 'substr',
|
||||
'strpos(haystack, needle)' => 'strpos',
|
||||
'str_replace(subject, search, replace)' => 'str_replace',
|
||||
'rescape(string)' => 'rescape',
|
||||
'set_var(var,value)' => 'set_var',
|
||||
),
|
||||
'vars' => array(
|
||||
|
|
Loading…
Reference in a new issue