filtering an email is not possible when "=80" ... "=FF" is on the same line of the searched word in the content of the message
Categories
(MailNews Core :: Filters, defect)
Tracking
(Not tracked)
People
(Reporter: dsa.new, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: testcase)
Attachments
(3 files)
Comment 4•15 years ago
|
||
Comment 7•13 years ago
|
||
Comment 9•13 years ago
|
||
Comment 10•13 years ago
|
||
Comment 11•11 years ago
|
||
Comment 12•5 years ago
|
||
Danny, does this still reproduce?
Comment 13•5 years ago
|
||
NO - The bug does not reproduce on my TB 91.2.1 under Windows 7/32 Pro (Aero).
The thing that struck me right away was the list running "80 .. .89 8a ... 8f 8g ...", where 8f fails and 8g works. "8f" is a valid HEX code, whereas "8g" is not, and I think the "=8f" (etc) was not parsing properly. But obviously the guys already suspected that (and probably fixed it).
Anyway, for testing, my filter checks: If body contains "stein", add a star. I sent six messages to myself, with and without "einstein" AND with or without "8f" or "8g" on the same or different lines.
If the body contains "einstein", there may or may not be a star, depending on presence and position of "8f" or "8g".
If the body does not contain "einstein" (contained "newton" instead) there should never be a star, and there never was.
(n) "Literal Body Content" [ Subject ] RESULT
(1) "Testing for einstein with =8f appearing" [code 8f appears - should NOT add star if bug present] STAR ADDED
(2) "Testing for einstein with =8g appearing" [code 8g appears - should ALWAYS add star] STAR ADDED
(3) "Testing for newton with =8f appearing" [code 8f appears but no stein - should NEVER add star] NO STAR
(4) "Testing for newton with =8g appearing" [code 8g appears but no stein - should NEVER add star] NO STAR
(5) "Testing for einstein with <newline> the =8f appearing on next line" [code 8f appears on next line - should add star] STAR ADDED
(6) "Testing for einstein with <newline> the =8g appearing on next line" [code 8g appears on next line - should add star] STAR ADDED
Case 1 in theory should succeed always, as "stein" appears ("einstein") If the bug is present, it should fail (NO STAR). But there is a STAR.
Case 2 should succeed always, as "stein" appears ("einstein") but contains "8g" instead of "8f". STAR ADDED -- correct.
Cases 3 & 4 should never succeed regardless of "8f" or "8g" (contains "newton" and no "stein", so match failed). NO STARS -- correct.
Cases 5 & 6 test for "stein" but have the "8f" or "8g" on separate lines, so they should always succeed, and they did. STARS ADDED -- correct.
So I would say this bug has been fixed (or at least is no longer evident).
Updated•4 years ago
|
Comment 14•10 months ago
|
||
Thanks Dan.
vlad can you reproduce?
does that mean bug 667854 is also gone?
Comment 15•10 months ago
|
||
Steps to Reproduce
Environment
- Thunderbird: 128.6.0esr (64-bit), 148.0a1(20260104103732), 147.0b3(20251218184800), 140.3.1esr(20250929214837)
- OS: Windows macOS 15.6.1/Ubuntu 24,25/ Windows 10,11 (repro attempted on a clean profiles)
- Filters: Standard message filters
Preconditions
- An account is configured in Thunderbird with filtering enabled.
- A message filter is created to match text in the message body (e.g., “Body contains einstein”), and take an action such as Move to folder.
Test Data
- A test email where the target word (e.g., einstein) appears in the body without any quoted-printable sequences.
- A test email where the target word appears on a line containing quoted-printable byte sequences such as =80, =8F, =90, up to =FF, on the same line as the search term.
Steps
- Send or import the test messages into the account.
- Ensure filters are enabled and applied to incoming mail.
Observe whether the filter matches both: - The message where the search term and the quoted-printable sequence are on the same line, and the message where the search term appears without quoted-printable sequences.
- Check the resulting folder location or filter action result.
Actual Result
- In my testing, messages containing the search term were filtered correctly regardless of the presence of quoted-printable sequences such as =80 on the same line.
- The filter matched and moved the message as expected.
Based on the above steps and observations, I was unable to reproduce the issue . Message body filters appear to match correctly even with quoted-printable sequences on the same line as the search term. If there are any other steps/information that could help, I would happily try to reproduce again.
Description
•