[wp-trac] [WordPress Trac] #42437: Thumbnails can overwrite other uploads if filename matches

WordPress Trac noreply at wordpress.org
Fri Dec 6 20:52:46 UTC 2019


#42437: Thumbnails can overwrite other uploads if filename matches
-------------------------------------------------+-------------------------
 Reporter:  Viper007Bond                         |       Owner:  pbiron
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.3.1
Component:  Upload                               |     Version:  4.8.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 Replying to [comment:47 pbiron]:
 > This seems to work great on all the tests I've run.  Will try to run
 some more tomorrow morning.

 Great! :)

 > I was thinking of the color swatches that Alex already attached to this
 ticket (and maybe a few more like them).

 Actually, as we are only testing the file names, thinking we don't need
 new image files, can "replicate" an existing image in the test dir and
 rename it appropriately. Looking at adding few more tests now.

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


More information about the wp-trac mailing list