[wp-trac] [WordPress Trac] #48975: Fix unhandled upper/lower case change in wp_unique_filename()
WordPress Trac
noreply at wordpress.org
Mon Dec 16 19:48:15 UTC 2019
#48975: Fix unhandled upper/lower case change in wp_unique_filename()
--------------------------------------------------+-----------------------
Reporter: azaozz | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 5.3.2
Component: Upload | Version: 5.3.1
Severity: major | Resolution:
Keywords: has-patch 2nd-opinion has-unit-tests | Focuses:
--------------------------------------------------+-----------------------
Comment (by azaozz):
In 48975.2.diff: same as 48975.diff plus a simple limit for the while loop
(just in case) as it uses different methods for checking and changes.
@karl94 it can when the extension is upper case as the replacement (the
change inside the while loop) will fail.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48975#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list