Merge pull request #167 from KonishchevDmitry/pr-allow-slash-in-filter-regex

Allow slashes in filter regular expressions
This commit is contained in:
Andrew Dolgov 2013-04-27 02:10:27 -07:00
commit efe46a3b53
1 changed files with 1 additions and 1 deletions

View File

@ -1242,7 +1242,7 @@
foreach ($filter["rules"] as $rule) {
$match = false;
$reg_exp = $rule["reg_exp"];
$reg_exp = str_replace('/', '\/', $rule["reg_exp"]);
$rule_inverse = $rule["inverse"];
if (!$reg_exp)