Body search fails in quoted-printable with trailing equals
Categories
(MailNews Core :: Search, defect)
Tracking
(Not tracked)
People
(Reporter: francesco, Assigned: maxe)
References
Details
Attachments
(1 file, 1 external file)
|
292 bytes,
text/plain
|
Details |
STR:
Load message into TB, use QuickFilter, look for word "found" in body.
Not found using TB 140 or also beta.
I came across this in the wild and boiled it down to the trailing = at the and of the message.
Comment 1•3 months ago
|
||
Please avoid using abbreviations in bug summaries (and in general) - it hurts both user and developer searching. In this case, quoted-printable is most frequently used form in bugzilla. Thanks.
Comment 2•3 months ago
|
||
I took a spin through "QP" https://mzl.la/454HeON - I think the first one is a duplicate of this?
| Reporter | ||
Comment 3•3 months ago
|
||
You mean bug 113120? Maybe vaguely related. The message is displayed fine, however, the search just fails. Unfortunately, this particular sender always has a trailing = at the end.
The error is likely around here:
https://searchfox.org/comm-central/rev/72b8ba0761b3881d926be53f77fbf75d5a9316d5/mailnews/search/src/nsMsgSearchTerm.cpp#821
Note that this
https://searchfox.org/comm-central/rev/72b8ba0761b3881d926be53f77fbf75d5a9316d5/mailnews/search/src/nsMsgBodyHandler.cpp#694
is only called for search in PGP or S/MIME messages (since GetRelevantTextParts() is only called for those messages).
Comment 4•3 months ago
|
||
Yes, that one - I read it too quickly
| Assignee | ||
Comment 5•3 months ago
|
||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/8465a67db60d
Fix body search for quoted-printable messages ending on a soft line break. r=tobyp
Updated•3 months ago
|
Description
•