Mozilla Monitor website will be down for 2 hours starting 5/20/2025 at 6 AM PT. Visit our status site for updates.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

When downloading from Outlook on the web using Firefox ESR, an unnecessary string is added to the file name.

more options

When accessing Outlook (https://outlook.office.com) using Firefox ESR version 128.9.0 and attempting to download a file attached to an email, the string 'UTF-8' is automatically inserted at the beginning of the file name, which is causing issues. This phenomenon does not occur with other browsers such as Edge or Chrome.

Is there a way to solve this problem?

When accessing Outlook (https://outlook.office.com) using Firefox ESR version 128.9.0 and attempting to download a file attached to an email, the string 'UTF-8' is automatically inserted at the beginning of the file name, which is causing issues. This phenomenon does not occur with other browsers such as Edge or Chrome. Is there a way to solve this problem?

Valgt løsning

I'm looking at this in Firefox 137.0.2. For a file named

Voucher - MAIKOYA.PDF

Firefox shows that the server is sending this header:

content-disposition: attachment; filename*=UTF-8''Voucher%20-%20MAIKOYA.pdf

Now, that seems a bit weird, compared to the usual format --

content-disposition: attachment; filename="Voucher - MAIKOYA.pdf"

-- but the MDN article on Content-Disposition implies that this is one of the normal options, so Firefox should know how to handle it. https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Disposition#syntax

Since I can't tell whether Microsoft is doing anything at odds with the web standard, I filed a new bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=1961710

If you want, you can add yourself to the CC list and keep an eye on whether they ask for more testing.

Les dette svaret i sammenhengen 👍 4

All Replies (3)

more options

Valgt løsning

I'm looking at this in Firefox 137.0.2. For a file named

Voucher - MAIKOYA.PDF

Firefox shows that the server is sending this header:

content-disposition: attachment; filename*=UTF-8''Voucher%20-%20MAIKOYA.pdf

Now, that seems a bit weird, compared to the usual format --

content-disposition: attachment; filename="Voucher - MAIKOYA.pdf"

-- but the MDN article on Content-Disposition implies that this is one of the normal options, so Firefox should know how to handle it. https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Disposition#syntax

Since I can't tell whether Microsoft is doing anything at odds with the web standard, I filed a new bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=1961710

If you want, you can add yourself to the CC list and keep an eye on whether they ask for more testing.

Helpful?

more options

Thank you, jscher2000. I have gained a better understanding of this issue. I will also keep an eye on the progress of the bug report. I will close this question now.

Helpful?

more options

In follow-up searching, I saw reports that Safari also doesn't understand the new Content-Disposition headers from Outlook. Even if Microsoft doesn't care about Firefox users, maybe they'll roll it back to reduce the impact on Safari users. Fingers crossed.

Helpful?

Still et spørsmål

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.