[wp-trac] [WordPress Trac] #39550: Some Non-image files fail to upload after 4.7.1

WordPress Trac noreply at wordpress.org
Fri Feb 24 18:28:14 UTC 2017


#39550: Some Non-image files fail to upload after 4.7.1
-------------------------------------+------------------------
 Reporter:  greatislander            |       Owner:  joemcgill
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.7.3
Component:  Upload                   |     Version:  4.7.1
 Severity:  critical                 |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------

Comment (by iandunn):

 `39550.5.diff` and `39550-uploads.2.zip​` add a unit test for
 `application/` mimes with sub-types, like the case that @goldsounds
 mentioned in comment:95.

 The test currently fails, because `$real_mime` is `application/xml`, and
 only `application/ttml+xml` was allowed via `upload_mimes`.

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


More information about the wp-trac mailing list