getFull() fails to fully parse message
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(Not tracked)
People
(Reporter: jan.kiszka, Assigned: john)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Steps to reproduce:
While trying to parse the attached message via the messages API and getFull ( as used by https://github.com/jan-kiszka/copypatch), some internal error seems to occur, and the retrieved result lacks the body and likely more fields.
The attached mesage was received via an IMAP inbox, but the error persists when reading it via an NNTP server.
Updated•3 days ago
|
| Assignee | ||
Comment 1•3 days ago
•
|
||
Hm, the part has a contentId and is therefore treated as an attachment. Unexpected.
| Assignee | ||
Comment 2•3 days ago
•
|
||
Usually the presence of a content-id header indicates that a part is an inline element
referenced from elsewhere in the message as a related part. The current implementation
however treats those parts as attachments, which should only happen if the part has a
name.
| Assignee | ||
Updated•3 days ago
|
Updated•3 days ago
|
| Assignee | ||
Updated•2 days ago
|
Pushed by sking@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/f300c69d2825
Treat parts with a content-id as attachments only if they also have a name. r=mkmelin
Description
•