[Tickets #4238] NEW: Compound header fields get truncated

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Aug 2 12:59:06 PDT 2006


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

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=4238
-----------------------------------------------------------------------
 Ticket             | 4238
 Created By         | Matt Selsky <selsky at columbia.edu>
 Summary            | Compound header fields get truncated
 Queue              | Ingo
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


Matt Selsky <selsky at columbia.edu> (2006-08-02 12:59) wrote:

I'm trying to make Sieve feel a little more like procmail with the magic
rules like ^TO_, ^TO, etc.

I added lines to ingo/config/fields.php like this:

  'To,Cc,Bcc,Resent-To' => array(
    'label' => _("Destination (To,Cc,Bcc,etc)"),
    'type' => INGO_STORAGE_TYPE_HEADER
  ),
  'From,Sender,Reply-To,Resent-From' => array(
    'label' => _("Source (From,Reply-To,etc)"),
    'type' => INGO_STORAGE_TYPE_HEADER
  ),
  'To,Cc,Bcc,Resent-To,From,Sender,Reply-To,Resent-From' => array(
    'label' => _("Participant (From,To,etc)"),
    'type' => INGO_STORAGE_TYPE_HEADER
  ),

This works fine in Ingo 1.0.2, but in FRAMWORK_3/HEAD the headers
"To,Cc,Bcc,Resent-To" get turned into "To, c, cc, esent-To". Note the
missing first letter of each header after the first.

This seems related to the fix for bug 3313.




More information about the bugs mailing list