[wp-trac] [WordPress Trac] #42437: Thumbnails can overwrite other uploads if filename matches
WordPress Trac
noreply at wordpress.org
Thu Dec 5 22:52:34 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:44 pbiron]:
> What's the process for addng new images to `tests/phpunit/data/images`?
Not sure how to do that with "regular" a patch. For more unit tests we'll
need some additional test images to test against.
Yeah, there's no good way to add "binary" files. If you upload the images
here, I can add them separately when committing the tests (images should
be copyright free/in "public domain").
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42437#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list