<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>putting commas in text to match generates bad rules</title> 
  <pubDate>Fri, 10 Apr 2026 14:37:25 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/3313</link> 
  <atom:link rel="self" type="application/rss+xml" title="putting commas in text to match generates bad rules" href="https://bugs.horde.org/ticket/3313/rss" /> 
  <description>putting commas in text to match generates bad rules</description> 
 
   
   
  <item> 
   <title>Another report from our help desk..  basically, if you creat</title> 
   <description>Another report from our help desk..  basically, if you create a sieve rule that tries to match a subject string with a comma in it ( eg...  &quot;Amazing,&quot; ), the comma gets mistranslated when the sieve script is generated.



SQL sez..



    [field] =&gt; Subject

    [type] =&gt; 1

    [match] =&gt; contains

    [value] =&gt; Amazing,



but, the sieve script sez...



    header :comparator &quot;i;ascii-casemap&quot; :contains &quot;Subject&quot; [&quot;Amazing&quot;, &quot;&quot;]



and the &quot;&quot; ends up matching ALL rules.  



I&#039;ve tried this with CVS HEAD from this PM (1/20/06) and w/ Ingo 1.0.2.

</description> 
   <pubDate>Fri, 20 Jan 2006 21:28:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3313#t15779</link> 
  </item> 
   
  <item> 
   <title>This is the intended behaviour, see ticket 1105. But maybe w</title> 
   <description>This is the intended behaviour, see ticket 1105. But maybe we should check if one of the values is empty.</description> 
   <pubDate>Sat, 21 Jan 2006 00:33:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3313#t15787</link> 
  </item> 
   
  <item> 
   <title>A check has been added to make sure that no empty headers or</title> 
   <description>A check has been added to make sure that no empty headers or addresses can be added to the test accidentally.</description> 
   <pubDate>Mon, 24 Apr 2006 12:41:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3313#t19378</link> 
  </item> 
   
  <item> 
   <title>The sieve script now says:



header :comparator &quot;i;ascii-ca</title> 
   <description>The sieve script now says:



header :comparator &quot;i;ascii-casemap&quot; :contains &quot;Subject&quot; &quot;Amazing&quot;



The trailing comma is missing.</description> 
   <pubDate>Tue, 25 Apr 2006 03:16:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3313#t19434</link> 
  </item> 
   
  <item> 
   <title>Try now?</title> 
   <description>Try now?</description> 
   <pubDate>Wed, 26 Apr 2006 17:26:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3313#t19492</link> 
  </item> 
   
  <item> 
   <title>Looks good.</title> 
   <description>Looks good.</description> 
   <pubDate>Wed, 26 Apr 2006 19:10:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3313#t19494</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
