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

WordPress Trac noreply at wordpress.org
Thu Jan 25 20:18:12 UTC 2018


#42437: Thumbnails can overwrite other uploads if filename matches
--------------------------+------------------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Upload        |     Version:  4.8.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by azaozz):

 Thinking we should be stripping things like `-1024x768` from image names
 on upload. That will allow "proper" naming with -2, -3, etc. for
 duplicates and will prevent sub-sizes name conflicts.

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


More information about the wp-trac mailing list