messages.listAttachments() fails to list forwarded messages, which do not have a content-disposition header
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(thunderbird_esr128 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr128 | --- | fixed |
People
(Reporter: TbSync, Assigned: TbSync)
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
corey
:
approval-comm-esr128+
|
Details | Review |
Assignee | ||
Comment 1•4 months ago
|
||
This is a continuation of Bug 1898617. Our attachment detection code
missed some edge cases and did not consider inline forwarded messages as
attachments (which is what Thunderbird itself is doing). However, we
also missed to consider forwarded messages as attachments, which do not
have a content-disposition header at all.
This also adds a test for this additional edge case.
Assignee | ||
Updated•4 months ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b9b900516349
Always handle forwarded messages as attachments, even if the content-disposition header is missing. r=tobyp
Updated•4 months ago
|
Assignee | ||
Comment 3•3 months ago
|
||
Comment on attachment 9426429 [details]
Bug 1920436 - Always handle forwarded messages as attachments, even if the content-disposition header is missing. r=#thunderbird-reviewers
[Approval Request Comment]
Regression caused by (bug #): Cannot say which bug exactly, but caused by the new message parsing code used by the WebExtension API in TB128
User impact if declined: Some attachments are not considered as attachments and are not returned by messages.listAttachments()
Testing completed (on c-c, etc.): 21 days on c-c, 14 days on beta
Risk to taking this patch (and alternatives if risky): Moderate. Has a test.
Comment 4•3 months ago
|
||
Comment on attachment 9426429 [details]
Bug 1920436 - Always handle forwarded messages as attachments, even if the content-disposition header is missing. r=#thunderbird-reviewers
[Triage Comment]
Approved for esr128
Comment 5•3 months ago
|
||
bugherder uplift |
Thunderbird 128.3.2esr:
https://hg.mozilla.org/releases/comm-esr128/rev/0022c1be7d06
Description
•