[Tickets #11893] Ingo 3 destroys some custom rules.

bugs at horde.org bugs at horde.org
Sat Dec 15 02:22:21 UTC 2012


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

Ticket URL: http://bugs.horde.org/ticket/11893
------------------------------------------------------------------------------
  Ticket             | 11893
  Created By         | warp-spam_horde at aehallh.com
  Summary            | Ingo 3 destroys some custom rules.
  Queue              | Ingo
  Version            | 3.0.1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


warp-spam_horde at aehallh.com (2012-12-15 02:22) wrote:

Take the following ingo rule:

Self-Defined Header: 'X-Original-To' IS 'foo1 at example.com'
Self-Defined Header: 'Delivered-To' IS 'foo1 at example.com'
Self-Defined Header: 'X-Original-To' IS 'foo2 at example.com'
Self-Defined Header: 'Delivered-To' IS 'foo2 at example.com'

Ingo 3 will cause condition 2 to be '-' and condition 3 to be '', thus  
breaking the rule.

The code seems to have some confusion as to if $vars->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.





More information about the bugs mailing list