Malformed attachment is missing when forwarding (Excess part under malformed multipart/related, which is invalid ATTACHMENT, is not attached by Forward Inline of Tb)
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(Not tracked)
People
(Reporter: yohan14, Assigned: welpy-cw)
References
()
Details
(Keywords: testcase, Whiteboard: [gs])
Attachments
(3 files, 1 external file)
Comment 1•16 years ago
|
||
Comment 3•16 years ago
|
||
Comment 5•16 years ago
|
||
Comment 7•16 years ago
|
||
Comment 9•16 years ago
|
||
Comment 10•16 years ago
|
||
Comment 11•16 years ago
|
||
Comment 12•16 years ago
|
||
Comment 14•16 years ago
|
||
Comment 15•16 years ago
|
||
Comment 16•16 years ago
|
||
Comment 17•16 years ago
|
||
Comment 18•16 years ago
|
||
Comment 20•15 years ago
|
||
Comment 21•15 years ago
|
||
Comment 22•15 years ago
|
||
Comment 23•15 years ago
|
||
Comment 24•15 years ago
|
||
Comment 25•15 years ago
|
||
Comment 26•14 years ago
|
||
Updated•13 years ago
|
Comment 27•13 years ago
|
||
Comment 28•13 years ago
|
||
Comment 29•13 years ago
|
||
Comment 30•13 years ago
|
||
Comment 31•12 years ago
|
||
Comment 32•12 years ago
|
||
Comment 33•12 years ago
|
||
Comment 34•12 years ago
|
||
Comment 35•12 years ago
|
||
Comment 36•12 years ago
|
||
Comment 37•12 years ago
|
||
Comment 38•12 years ago
|
||
Comment 39•12 years ago
|
||
Comment 40•11 years ago
|
||
Comment 41•11 years ago
|
||
Comment 42•11 years ago
|
||
Comment 43•11 years ago
|
||
Comment 44•11 years ago
|
||
Comment 45•11 years ago
|
||
Comment 46•11 years ago
|
||
Comment 47•10 years ago
|
||
Comment 48•10 years ago
|
||
Comment 49•10 years ago
|
||
Comment 50•10 years ago
|
||
Comment 51•10 years ago
|
||
Comment 52•10 years ago
|
||
Comment 53•10 years ago
|
||
Comment 54•9 years ago
|
||
Comment 55•9 years ago
|
||
Comment 56•9 years ago
|
||
Comment 57•9 years ago
|
||
Comment 58•9 years ago
|
||
Comment 59•9 years ago
|
||
Comment 60•9 years ago
|
||
Comment 61•9 years ago
|
||
Updated•4 years ago
|
Comment 62•3 years ago
|
||
I understand that this issue is based on malformed e-mail and as such should be resolved at the sender's software. To notify the sender of this issue, it would be helpful to have clear documentation that states that multipart/related mail must not contain an attachment or vice-versa, to send an e-mail including an attachment, e.g., a PDF file, the content-type multipart/mixed should be used. Where can I find the "clear definition" mentioned in comment #28? Is there anything except RFC2387?
NB: This issue has also been discussed on SO and that posting includes python code to generate "malformed" email with attachment.
Comment 63•1 year ago
|
||
Unfortunately this issue now hit us with some irritating consequences. So i can confirm that the bug is still present on Windows 11 with TB 128.9.1esr (64-Bit). There is also a thread in the german thunderbird forum probably without new information:
In my opinion the user must be informed that the incoming mail is malformed. At the moment the mail looks totally fine to the user except next to the attachment it says 'unknown size'. And sender who send out malformed mails can only be informed if someone recognizes malformed mails.
Or the user is not informed about malformed mails but then the mail should behave like any other mail, meaning forwarding it should contain the attachement.
Comment 64•4 months ago
|
||
This bug is still present in Thunderbird 140.11.1esr (64-bit) on Windows 11.
When I forward an email containing a PDF attachment that is displayed as "size unknown", the attachment is not included in the forwarded message. The only workaround is to first save the attachment locally and then manually reattach it to the forwarded email.
| Assignee | ||
Comment 65•1 month ago
|
||
Related parts without Content-ID or Content-Location are visible in the
reader, but their initial parse_begin call suppresses output in compose
mode and marks them as hidden. Attachment replay then skips them during
Forward and Edit as New.
Defer their parsing in compose mode to the existing attachment replay at
EOF, preserving their visibility and encoded content.
Extend the xpcshell inline-forward regression to parts without either
location header, with and without an explicit attachment disposition.
Compare the decoded outgoing names, exact sizes, and every attachment
byte with memory and temporary-file buffering and padded base64.
Keep a small browser test for reader attachment visibility and matching
attachment counts and filenames in Edit as New.
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•29 days ago
|
Comment 66•29 days ago
|
||
Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/fb9acf3891dc
Retain related attachments without Content-ID when composing. r=maxe, mkmelin
Description
•