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

WordPress Trac noreply at wordpress.org
Thu Oct 5 19:11:42 UTC 2017


#40175: Upload Validation / MIME Handling
-------------------------------------------------+-------------------------
 Reporter:  blobfolio                            |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  4.9
Component:  Media                                |     Version:  4.7.3
 Severity:  critical                             |  Resolution:
 Keywords:  has-unit-tests has-patch needs-      |     Focuses:
  testing                                        |  administration
-------------------------------------------------+-------------------------

Comment (by blobfolio):

 It has been a while since the initial patch was put together, so it has
 been regenerated to make it easier to apply against the current WordPress
 source.

 `40175.2.diff` includes binary data (a small file for the unit tests).
 That data can be ignored if it causes problems with your version control
 software; the relevant file is also provided in the `phpunit-file.zip`
 attached to this ticket.

 Just a reminder, if testing this patch out, be sure to temporarily disable
 the `Lord of the Files` plugin if it is part of the test site. (The plugin
 independently fixes this and other issues, so there'd be no way to know
 whether the patch worked if it were active. Haha.)

 Thanks!

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


More information about the wp-trac mailing list