6.0.0-alpha12
6/7/25

[#2134] \'s are over-escaped in sieve's regex mode
Summary \'s are over-escaped in sieve's regex mode
Queue Ingo
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Horde Developers (at)
Requester sky (at) columbia (dot) edu
Created 06/14/2005 (7298 days ago)
Due
Updated 06/26/2005 (7286 days ago)
Assigned 06/14/2005 (7298 days ago)
Resolved 06/26/2005 (7286 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/26/2005 05:35:27 AM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Committed, thanks.
06/14/2005 05:45:17 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
06/14/2005 03:50:25 PM sky (at) columbia (dot) edu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ \'s are over-escaped in sieve's regex mode
Queue ⇒ Ingo
New Attachment: sieve.php.patch Download
Reply to this comment
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.

Saved Queries