Can't download attachment from ProtonMail if the file has diacritics
-
Hello, I am not able to download attachments from ProtonMail if the file has diacritics in it. I have tried other browsers (Firefox, Brave) where they can be downloaded without any problems.
Is there any way to make this work in Vivaldi? Thanks!
-
@andresavetier You mean such: äöüéâ?
Which Vivaldi version?I tested my account at Proton webmail https://mail.proton.me and
such attachment's names worked for me to download with Vivaldi 6.1.3035.75:
€ẞäöüáâØ.html
äöüáâØ.html -
I have also 6.1.3035.75, on Manjaro. Strange...
I have the problem with .docx files, e.g. Héloïse.docx
-
@andresavetier And which mail client sended this?
-
This I don't know, all I know is that is not a free mail, like gmail or so. But the problem seems to be not Proton-related but connected with Vivaldi specifically, as on FF it works.
-
I have now deactivated all extensions, it downloads the file Héloïse.docx but saves it under the name "download", without file-extension.
-
@andresavetier I Would be interesting fi you could see the source of message body.
There should be something like:Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document; name="=?utf-8?Q?H=C3=A9lo=C3=AFse=2Edocx?=" Content-transfer-encoding: base64 Content-Disposition: attachment; filename="=?utf-8?Q?H=C3=A9lo=C3=AFse=2Edocx?="
Can you find such?
-
The only lines that were slightly similar to yours are:
Content-Type: text/html X-Pm-Transfer-Encryption: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) X-Attached: =?utf-8?Q?H=C3=A9lo=C3=AFse.docx?=
-
@andresavetier No such
Content-Disposition: attachment
? -
I couldn't find any.
-
If such mail has no confident information, export it , save as .eml file, report to Vivaldi bug tracker and attach .eml file in report, give all information you have posted here in forum (devs rarely read here!); then Vivaldi devs can check your bug report.
-
Thank you for your help!
-
@andresavetier to exclude settings issue or extension causing your issue: does download from ProtonMail work in a test profile?
Start in shell:
vivaldi --user-data-dir="/tmp/TESTVIV"
-
One sec, after exporting the mail to -eml, I found the lines you wanted before:
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document; filename="=?utf-8?Q?H=C3=A9lo=C3=AFse?=.docx"; name="=?utf-8?Q?H=C3=A9lo=C3=AFse?=.docx" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="=?utf-8?Q?H=C3=A9lo=C3=AFse?=.docx"; name="=?utf-8?Q?H=C3=A9lo=C3=AFse?=.docx" Content-ID: <f_lipuxzw01>
-
@DoctorG Downloading works in the test-profile but the files with diacritics are still downloaded as "download".
-
@andresavetier I do not know why with Vivaldi the ProtonMail Webmail acts so strange.
As i told: Report to Vivaldi bug tracker as a bug with the mail as .eml file attached. -
@DoctorG Thanks, I will do it!
-
@andresavetier Fine
Thanks for reporting. -
As i analysed Protonmail: the filename sent could miss correct encoding (has no character encoding for non-ASCII characters!) or is a mess, and other browsers just guess what could be correct.
Then i would call that a ProtonMail webmail bug.
Such is not standard conform:
Content-Disposition: attachment; filename="Héloïse.docx"
Correct should be:
Content-Disposition: attachment; filename*=UTF-8''H%C3%A9lo%C3%AFse.docx
https://www.rfc-editor.org/rfc/rfc8187.html#section-3.2.3 -
This post is deleted!