Closed
Bug 252115
Opened 20 years ago
Closed 20 years ago
Multi-line headers not recognized by mail filters
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 124641
People
(Reporter: evan, Assigned: mscott)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 Filtering for "List-Id" "contains" "foo.example.com", this header matches: List-Id: <foo.example.com> ...and this doesn't: List-Id: "The foo list"{newline} <foo.example.com> A filter on "The foo list" will correctly match. Reproducible: Always Steps to Reproduce: 0. Create (somehow!) two messages; one should have a header without a newline; one should not. (See details for useful examples; Mailman, for example, generates RFC2919 List-Id headers with a newline in them if there's a description for the list.) 1. On the menu, select "Tools/Message Filters..." 2. Click the "New..." button. 3. In the header combo box, select "Customize..." to add the List-Id header. 4. Type in "List-Id" to the "New message header" edit box, click "Add", then click "OK". 5. Select the "List-Id" header field. 6. Select "contains". 7. Add "foo.example.com" as the field content. 8. Select the "Label the message" checkbox for the action, and select "Important" as the label. (Note: you can use any other visible action; this is just to show that the filter doesn't work.) 9. Change the filter name to "Newline check" 10. Click OK. 11. Select the "Newline check" filter in the message filters list. 12. Select the folder where the sample messages are in the "Run selected filters on" drop-down box. 13. Click the "Run Now" button. Actual Results: The message without a newline in the List-Id header will be marked Important (or whatever other action you chose for the filter); the one with the newline will not. Expected Results: It should match multi-line headers.
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 124641 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•