diff options
author | Andrew Dolgov <[email protected]> | 2013-04-27 02:10:27 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-27 02:10:27 -0700 |
commit | efe46a3b535da9c1c9839cac2b3351349fa42d73 (patch) | |
tree | 6e3d59a30ba5f543a4b61564592a36f8dc16d8d7 /include | |
parent | 38a8c22b9e24609c9067ba20a8693c363e1c7a6e (diff) | |
parent | ffa1bd7b19d6941d12f66a477c0b5cec44ef4857 (diff) |
Merge pull request #167 from KonishchevDmitry/pr-allow-slash-in-filter-regex
Allow slashes in filter regular expressions
Diffstat (limited to 'include')
-rw-r--r-- | include/rssfuncs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index f4f9fa53c..0ecab6a25 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -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) |