summaryrefslogtreecommitdiff
path: root/plugins/managesieve
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-03-15 19:58:48 +0000
committeralecpl <alec@alec.pl>2012-03-15 19:58:48 +0000
commitcba69dd9777bf6c8d6ab5368da7e349e4cf60832 (patch)
treed9d6375d25114cc2644da583aa421a4433236961 /plugins/managesieve
parentf451a1ca5eaff9dd52fd6ce99e2bb189dc539140 (diff)
- Merge r6014 from trunk
Diffstat (limited to 'plugins/managesieve')
-rw-r--r--plugins/managesieve/lib/rcube_sieve_script.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/managesieve/lib/rcube_sieve_script.php b/plugins/managesieve/lib/rcube_sieve_script.php
index f5ad62c3f..92f979cfd 100644
--- a/plugins/managesieve/lib/rcube_sieve_script.php
+++ b/plugins/managesieve/lib/rcube_sieve_script.php
@@ -1058,6 +1058,10 @@ class rcube_sieve_script
$result[] = $text;
}
}
+ // fallback, skip one character as infinite loop prevention
+ else {
+ $str = substr($str, 1);
+ }
break;
}