PDF and WORD attachments are blank after sending to Proton Mail
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(thunderbird_esr102+ fixed, thunderbird103 fixed)
People
(Reporter: davebaird801, Assigned: rnons)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr102+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Steps to reproduce:
Send Email to protonmail.com address with a PDF or Word attachment after upgrading from TB 91 to 102.
No extra filters are active at Protonmail and sending from the protonmail web app is working correctly.
Tried reinstalling the protonmail account in thunderbird and reinstalling the protonmail bridge app.
Actual results:
Mail is sent correctly and attachments are still attached but when opened are blank.
For PDF's, pages are still shown and page count is correct but no content.
For Word file is empty and Word flags as corrupt.
The copy remaining in the protonmail sent folder is also affected in the same way and the receiver's email.
Expected results:
Attachments remain unchanged
Updated•3 years ago
|
Are you sure the attached word files are empty? In my case (docs, xlsx-attachments) were "corrupted" and slightly bigger. Opening them in Notpad++ tells me they are encoded in ANSI (was UTF8 before). And I got \ufffd () as a character inserted in some places. Seems to be a replacement char for utf, see https://www.fileformat.info/info/unicode/char/fffd/index.htm
And to confirm: Problem existing only using protonmail bridge. I contacted proton support. Perhaps you should too.
I contacted Protonmail a few days ago and they have replied that is a known issue and are working it.
But, the issue only exist with the change to Thunderbird 102 , so it may still be an issue that needs to be worked from the Thunderbird side as well.
Comment 4•3 years ago
|
||
hi, Proton here. we've looked into this at our end and confirmed that the problem comes from the new TB 102 adding charset=windows-1250
to all attachments, not just to text.
Based on this Bridge converts all these to utf8 which changes the data of binary files.
We can fix it at our end and maybe could handle it better from the beginning, but are puzzled as of why TB changed this in the first place just now.
As per https://datatracker.ietf.org/doc/html/rfc2046#section-4.1.2 this is not strictly forbidden, but would be great to know it it is deliberate and what is the reasoning behind it.
And/or if TB is planning a hotfix for this.
Assignee | ||
Comment 5•3 years ago
|
||
confirmed that the problem comes from the new TB 102 adding charset=windows-1250 to all attachments, not just to text.
Looks like a regression from bug 1760728, I will make a fix soon. Thanks.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
A mistake made in D141715.
Comment 7•3 years ago
|
||
good to know, thanks for speedy answer. any ETA on the hotfix? we have some quite a few users unable to send attachments, so looks pretty serious :/
Assignee | ||
Updated•3 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/0a6dd8df110f
Do not add charset param to non-text attachments. r=#thunderbird-reviewers,freaktechnik
Assignee | ||
Comment 9•3 years ago
|
||
Comment on attachment 9284417 [details]
Bug 1777495 - Do not add charset param to non-text attachments. r=#thunderbird-reviewers
[Approval Request Comment]
Regression caused by (bug #): bug 1760728
User impact if declined: Attachments become blank when sent to Proton
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low
Comment 10•3 years ago
|
||
I suspect this patch caused this failure: https://treeherder.mozilla.org/logviewer?job_id=383706808&repo=comm-central&lineNumber=2528
Assignee | ||
Comment 11•3 years ago
|
||
In this case, D141905 should be backed out. Or I can send a patch to revert D141905, which do you prefer?
Assignee | ||
Comment 12•3 years ago
|
||
Revert bug 1761101.
Comment 13•3 years ago
|
||
Yeah, a patch is better since backing out something from 4 months ago doesn't make much sense.
If the code changes, the tests should follow.
Can you please add this to Phab, and kick a try-run just to be sure? So then I can push a DONTBUILD with it
Updated•3 years ago
|
Assignee | ||
Comment 14•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 15•3 years ago
|
||
Comment 16•3 years ago
|
||
Comment on attachment 9284417 [details]
Bug 1777495 - Do not add charset param to non-text attachments. r=#thunderbird-reviewers
[Triage Comment]
Approved for beta
Unless a new patch is needed?
Comment 17•3 years ago
|
||
bugherder uplift |
Thunderbird 103.0b5:
https://hg.mozilla.org/releases/comm-beta/rev/52f7ad48d71d
https://hg.mozilla.org/releases/comm-beta/rev/8f6d19699332
Assignee | ||
Comment 21•3 years ago
|
||
Comment on attachment 9284417 [details]
Bug 1777495 - Do not add charset param to non-text attachments. r=#thunderbird-reviewers
[Approval Request Comment]
Regression caused by (bug #): bug 1760728
User impact if declined: Attachments become blank when sent to Proton
Testing completed (on c-c, etc.): beta
Risk to taking this patch (and alternatives if risky): low
Comment 22•3 years ago
|
||
Not sure what to do. This just started a week or two ago. Why doesn't Thunderbird fix what they did in that update that caused this problem, and put out another update?
Comment 23•3 years ago
|
||
There is an update coming (that's what the approval requests are about). We have to test it on beta first to make sure everything is alright.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 25•3 years ago
|
||
Comment on attachment 9284417 [details]
Bug 1777495 - Do not add charset param to non-text attachments. r=#thunderbird-reviewers
[Triage Comment]
Approved for esr102 with follow up patch if needed.
Comment 26•3 years ago
|
||
Hi. This says bug FIXED. Is that because there's a fix or update that has not yet been released, or am I missing something I'm supposed to do? Thanks.
Comment 27•3 years ago
|
||
It says fixed for version 103, which is currently being tested. You need to wait for its release.
Comment 28•3 years ago
|
||
THANKS!
Comment 29•3 years ago
|
||
bugherder uplift |
Reporter | ||
Comment 30•3 years ago
|
||
Working Here for both attachment types.
Thank you.
Reporter | ||
Comment 31•3 years ago
|
||
(In reply to Dave from comment #30)
102.0.3 (64-bit
Description
•