From 9075e037090f0db6d0efdf83e13679ea898fdbdf Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Tue, 18 Oct 2011 17:54:25 +0000 Subject: [PATCH] * (bug 24109) Add regex escaping function to abuse filter --- AbuseFilter.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/AbuseFilter.class.php b/AbuseFilter.class.php index 88c72c44b..290b40121 100644 --- a/AbuseFilter.class.php +++ b/AbuseFilter.class.php @@ -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(