<?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>Ingo 3 destroys some custom rules.</title> 
  <pubDate>Sun, 05 Apr 2026 20:34:07 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11893</link> 
  <atom:link rel="self" type="application/rss+xml" title="Ingo 3 destroys some custom rules." href="https://bugs.horde.org/ticket/11893/rss" /> 
  <description>Ingo 3 destroys some custom rules.</description> 
 
   
   
  <item> 
   <title>Take the following ingo rule:

Self-Defined Header: &#039;X-Ori</title> 
   <description>Take the following ingo rule:

Self-Defined Header: &#039;X-Original-To&#039; IS &#039;foo1@example.com&#039;
Self-Defined Header: &#039;Delivered-To&#039; IS &#039;foo1@example.com&#039;
Self-Defined Header: &#039;X-Original-To&#039; IS &#039;foo2@example.com&#039;
Self-Defined Header: &#039;Delivered-To&#039; IS &#039;foo2@example.com&#039;

Ingo 3 will cause condition 2 to be &#039;-&#039; and condition 3 to be &#039;&#039;, thus breaking the rule.

The code seems to have some confusion as to if $vars-&gt;userheader is supposed to be an array or a straight value.

The attached patch fixes at least this problem by forcing it to always be treated as a straight value that is unconditionally set to the user header in question.
(For an actual commit, the lines should at the very least be deleted and the indendation corrected.)

Regards,
Zephaniah E. Loss-Cutler-Hull.</description> 
   <pubDate>Sat, 15 Dec 2012 02:22:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11893#t75708</link> 
  </item> 
   
  <item> 
   <title>There was no patch attached.</title> 
   <description>There was no patch attached.</description> 
   <pubDate>Thu, 31 Jan 2013 10:46:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11893#t76510</link> 
  </item> 
   
  <item> 
   <title>... I have no clue how I missed that.

Attached.

Sorry </title> 
   <description>... I have no clue how I missed that.

Attached.

Sorry about that.

Zephaniah E. Loss-Cutler-Hull.</description> 
   <pubDate>Fri, 01 Feb 2013 00:19:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11893#t76515</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 13db04f101d1</title> 
   <description>Changes have been made in Git (master):

commit 13db04f101d1aa08503f26619dcdf99481135c95
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Fri Feb 1 14:28:12 2013 +0100

    [jan] Fix multiple user-defined headers in a single rule (Zephaniah E. Loss-Cutler-Hull, Bug #11893).

 ingo/docs/CHANGES |    2 ++
 ingo/package.xml  |    2 ++
 ingo/rule.php     |    6 +-----
 3 files changed, 5 insertions(+), 5 deletions(-)

http://git.horde.org/horde-git/-/commit/13db04f101d1aa08503f26619dcdf99481135c95</description> 
   <pubDate>Fri, 01 Feb 2013 13:28:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11893#t76526</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
