[wp-trac] [WordPress Trac] #50136: Files types not included in Upload file types are allowed to be uploaded because of loose file extension check
WordPress Trac
noreply at wordpress.org
Sun May 24 10:11:34 UTC 2020
#50136: Files types not included in Upload file types are allowed to be uploaded
because of loose file extension check
--------------------------------------+------------------------------
Reporter: Nikschavan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+------------------------------
Comment (by Nikschavan):
Added a new PR - https://github.com/WordPress/wordpress-develop/pull/293/
which improves upon work of @ayeshrajans and implement feedback from @dd32
Here is the updated snippet from ticket:50136#comment:3 which shows the
new change does work in limiting the file extensions to only which are
selected - https://3v4l.org/FaWn9
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50136#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list