[Bilietai #1904] NEW: regex bug in sieve driver

bugs@bugs.horde.org bugs at bugs.horde.org
Tue May 3 06:00:22 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1904
-----------------------------------------------------------------------
 Ticket             | 1904
 Created By         | vilius at lnk.lt
 Summary            | regex bug in sieve driver
 Queue              | Ingo
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


vilius at lnk.lt (2005-05-03 06:00) wrote:

Ingo incorrectly sends commas in regex expression to sieve backend. For
example I wanted to create rule that filters all letters with more than 10
recipients. Regex for such rule looks like this: (@.*){11,0}. When I click
"Save" sieve throws an error: {39}script errors: line 71: Unmatched \{.
This is because Ingo somehow thinks that this is two blocks: (@.*){11 and
0}. Escaping comma with \ solves the problem.




More information about the bugs mailing list