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

WordPress Trac noreply at wordpress.org
Wed Jan 18 23:01:26 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.2
Component:  Upload                  |     Version:  4.7.1
 Severity:  critical                |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------

Comment (by blobfolio):

 Worked with @btolman to test the patch under Windows and Multi-Site; FINFO
 /MIME-handling worked as expected! Woo!

 The latest version (4) of the patch integrates additional validation post-
 FINFO, re-checking the file information against the list of allowed MIMEs.
 This probably won't result in a change of heart very often, but is
 preferable to allowing everything through (or denying everything as 4.7.1
 accidentally does).

 If anyone else has had a chance to test, please post feedback. Let's get
 this bug fixed! Thanks!

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


More information about the wp-trac mailing list