[wp-trac] [WordPress Trac] #57898: Google Doc saved as .docx file not allowed in media library

WordPress Trac noreply at wordpress.org
Wed Aug 30 22:30:21 UTC 2023


#57898: Google Doc saved as .docx file not allowed in media library
-------------------------------------------------+-------------------------
 Reporter:  winterstreet                         |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  Upload                               |     Version:  6.1.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-screenshots changes-   |     Focuses:
  requested commit                               |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56497" 56497]:
 {{{
 #!CommitTicketReference repository="" revision="56497"
 Upload: Add a MIME type exception for `.docx` generated by Google Docs.

 This changeset adds an exception to prevent permission issues on `.docx`
 generated by Google Docs. This is a temporary fix for an upstream bug on
 the `finfo_file()`
 PHP function which returns a redundant MIME type for these documents.

 Props winterstreet, jakariaistauk, mujuonly, mi5t4n, annashopina,
 audrasjb, azaozz, mikeschroder, oglekler.
 Fixes #57898.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57898#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list