[wp-trac] [WordPress Trac] #53668: Generated images for one file can be overwritten by another with the same name when mapping mime types for generated images

WordPress Trac noreply at wordpress.org
Tue Aug 31 23:53:22 UTC 2021


#53668: Generated images for one file can be overwritten by another with the same
name when mapping mime types for generated images
--------------------------------------------------+-----------------------
 Reporter:  ianmjones                             |       Owner:  azaozz
     Type:  defect (bug)                          |      Status:  reopened
 Priority:  normal                                |   Milestone:  5.8.1
Component:  Media                                 |     Version:  5.8
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch has-unit-tests fixed-major  |     Focuses:
--------------------------------------------------+-----------------------

Comment (by desrosj):

 [51653] and [51693] are looking good to backport. I haven't been able to
 reproduce the bahavior after those commits are made.

 At first glance, I thought that 10,000 for the loops's upper limit was
 unnecessarily high, but the odds that a site will get over 100 or 1,000 is
 most likely a super edge case.

 I say let's ship it.

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


More information about the wp-trac mailing list