[Tickets #2134] NEW: \'s are over-escaped in sieve's regex mode
bugs@bugs.horde.org
bugs at bugs.horde.org
Tue Jun 14 08:50:26 PDT 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=2134
-----------------------------------------------------------------------
Ticket | 2134
Created By | sky at columbia.edu
Summary | \'s are over-escaped in sieve's regex mode
Queue | Ingo
Version | HEAD
State | Unconfirmed
Priority | 1. Low
Type | Bug
Owners |
+New Attachment | sieve.php.patch
-----------------------------------------------------------------------
sky at columbia.edu (2005-06-14 08:50) wrote:
With the 'Regular Expression' match type, .'s need to be escaped so they are
not matched as a wildcard, but "\." is parsed by sieve.php to "\\." adding a
backslash.
It seems like, in general, \'s shouldn't be escaped for regex parsing. The
attached patch, makes an exception when match-type is regex in the sieve
driver.
More information about the bugs
mailing list