summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-27 02:10:27 -0700
committerAndrew Dolgov <[email protected]>2013-04-27 02:10:27 -0700
commitefe46a3b535da9c1c9839cac2b3351349fa42d73 (patch)
tree6e3d59a30ba5f543a4b61564592a36f8dc16d8d7 /include
parent38a8c22b9e24609c9067ba20a8693c363e1c7a6e (diff)
parentffa1bd7b19d6941d12f66a477c0b5cec44ef4857 (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.php2
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)