Summary | putting commas in text to match generates bad rules |
Queue | Ingo |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | liamr (at) umich (dot) edu |
Created | 01/20/2006 (7108 days ago) |
Due | |
Updated | 04/26/2006 (7012 days ago) |
Assigned | 02/01/2006 (7096 days ago) |
Resolved | 04/24/2006 (7014 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
header :comparator "i;ascii-casemap" :contains "Subject" "Amazing"
The trailing comma is missing.
State ⇒ Resolved
can be added to the test accidentally.
State ⇒ Assigned
State ⇒ Feedback
ticket 1105. But maybe we shouldcheck if one of the values is empty.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ putting commas in text to match generates bad rules
Queue ⇒ Ingo
State ⇒ Unconfirmed
rule that tries to match a subject string with a comma in it ( eg...
"Amazing," ), the comma gets mistranslated when the sieve script is
generated.
SQL sez..
[field] => Subject
[type] => 1
[match] => contains
[value] => Amazing,
but, the sieve script sez...
header :comparator "i;ascii-casemap" :contains "Subject" ["Amazing", ""]
and the "" ends up matching ALL rules.
I've tried this with CVS HEAD from this PM (1/20/06) and w/ Ingo 1.0.2.