[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
Thu Aug 12 15:14:11 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: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8.1
Component: Media | Version: 5.8
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):
* keywords: has-patch needs-testing => has-patch needs-testing needs-unit-
tests
Comment:
Additional notes from Media component meeting, the patch also needs:
- Unit tests for the new functions and to show the problem before the
patch and that's resolved after the patch
- Thorough code review
@azaozz can you take a look at [attachment:"53668.diff"] for a technical
and code review?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53668#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list