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

WordPress Trac noreply at wordpress.org
Tue Mar 7 20:51:27 UTC 2017


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

Comment (by blobfolio):

 Thanks for the feedback, @kosso, @jbalyo. This is helpful for #39963,
 which should fix most instances like these.

 In the meantime, unfortunately, any server throwing "application/*" as the
 "true" MIME type for a given file will be under heavy scrutiny, and if
 that "true" type isn't also whitelisted, it will fail. For people with the
 OGG issue, I think the code I shared earlier should fix it.

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


More information about the wp-trac mailing list