Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

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.

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?

Chosen solution

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.

Read this answer in context 👍 4

All Replies (3)

Chosen Solution

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?

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?

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?

Ask a question

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