Open Bug 1981797 Opened 1 year ago Updated 8 months ago

Firefox does not recognize/sniff docx files sent with text/plain mimetype as download

Categories

(Core :: Networking: HTTP, defect, P2)

Firefox 141
Desktop
All
defect
Points:
5

Tracking

()

People

(Reporter: melissa, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

Attached image Screen Shot.jpg —

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0

Steps to reproduce:

I am trying to download a docx file. I have tried to open it, I have tried to save it. I have installed all updates to Windows, Mozilla, and Word. I still have this issue. This issue is new because I have downloaded these files before. I can download in Google Chrome so it is not the website. Apparently this issue has happened before but there doesn't seem to be a resolve. I don't know how to roll back an update.
https://bugzilla.mozilla.org/show_bug.cgi?id=1610439

Actual results:

I get gargally goop text that can't be read. There is not a popup that allows me to save even though it is marked save as or ask to save in my settings.

Expected results:

Open Word document (Docx) or Saved Word document.

Component: Application Update → File Handling
Product: Toolkit → Firefox
See Also: → 1610439

I added the URL from the screenshot in comment 0 to the URL field of the bug. I can reproduce the problem outlined in comment 0 - the server tells the browser that this is a text/plain document (in the Content-Type header). This is wrong. However, it seems that Chrome also gets told the file is text/plain but does manage to start a download. So I assume that there is some kind of sniffing that ought to happen here but isn't. Over to the networking team to have a look at this.

Status: UNCONFIRMED → NEW
Component: File Handling → Networking: HTTP
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → Desktop
See Also: → 1948543, 1896460
Summary: firefox will not open docx files → Firefox does not recognize/sniff docx files sent with text/plain mimetype as download
Blocks: 1851982
Severity: -- → S3
Points: --- → 5
Rank: 3
Priority: -- → P2
Whiteboard: [necko-triaged]
See Also: → 1997785
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: