Closed Bug 697096 Opened 13 years ago Closed 13 years ago

Message Filter 'contains' does not work on duplicate custom headers (only the first one is searched)

Categories

(Thunderbird :: General, defect)

7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 678322

People

(Reporter: bugzilla.mozilla.org, Unassigned)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238

Steps to reproduce:

I have a message filter that checks for a custom header 'Delivered-To'

condition="AND (\"delivered-to\",contains,bugzilla.mozilla.org@scharf.gr)"

The message contains the following headers: (note the two Delivered-To headers!)

Delivered-To: ak0224@argh-it.de
Received: (qmail 11068 invoked by uid 9018); 25 Oct 2011 16:09:42 +0200
Delivered-To: virtual-scharf.gr/users-bugzilla.mozilla.org@scharf.gr



Actual results:

Up to Thunderbird 6 this filter worked just fine (both header fields were checked). But now only the first one seems to be checked


Expected results:

The "contains" and "doesn't contain" should cheak *ALL* headers, not only the first one (this was the behavior for years)!
(In reply to Michael Scharf from comment #0)
Relevant info here: http://groups.google.com/group/mozilla.dev.apps.thunderbird/browse_thread/thread/233a96f96259c988
Whiteboard: [filter-mgmt]
Also see bug 678322; I'd mark this as a duplicate of that, except you claim that it worked up to Thunderbird 6, while that one was reported for 5.
indeed, it started failing with thunderbird 6! The last version that was working ins thunderbird 5.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Keywords: regression
Resolution: --- → DUPLICATE
Whiteboard: [filter-mgmt]
You need to log in before you can comment on or make changes to this bug.