[wp-trac] [WordPress Trac] #61809: Firefox Does Not Recognize MIME Types
WordPress Trac
noreply at wordpress.org
Mon Aug 5 22:11:23 UTC 2024
#61809: Firefox Does Not Recognize MIME Types
--------------------------+------------------------------
Reporter: rubickscube | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.6
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by dmsnell):
> When going directly to the URL of a file in the media library
I see two links, one labeled //View// (like
`{SITE_URL}/?attachment_id=705`) and one labeled //Download// (like
`{SITE_URL}/wp-content/uploads/2024/08/20-verbia.docx`)
The view link redirects to the full //Download// link, and they both
contain a `Content-type` header.
{{{
HTTP/1.1 200 OK
Host: localhost
Date: Mon, 05 Aug 2024 21:59:47 GMT
Connection: close
Content-Type: application/vnd.openxmlformats-
officedocument.wordprocessingml.document
Content-Length: 8255
}}}
In Safari and Firefox on macOS both viewed a PDF upload in the browser but
downloaded the DOCX. Are you seeing this behavior for all files, or is
there a specific file you are having trouble with?
Do you have any extensions installed in Firefox that would attempt to load
support for rendering the DOCX type? For example, I think Microsoft Office
has a browser plugin for doing just this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61809#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list