[wp-trac] [WordPress Trac] #40175: Upload Validation / MIME Handling

WordPress Trac noreply at wordpress.org
Thu Feb 25 05:10:46 UTC 2021


#40175: Upload Validation / MIME Handling
-------------------------------------------------+-------------------------
 Reporter:  blobfolio                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  high                                 |   Milestone:  Future
                                                 |  Release
Component:  Media                                |     Version:  4.7.3
 Severity:  major                                |  Resolution:
 Keywords:  has-unit-tests early needs-dev-note  |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------

Comment (by quangthien27):

 "potx" is still not able to upload, as its mime has been changed to
 "application/vnd.openxmlformats-
 officedocument.presentationml.presentation", not "application/vnd
 .openxmlformats-officedocument.presentationml.template" as per in /wp-
 includes/functions.php, "wp_get_mime_types" function

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


More information about the wp-trac mailing list