[wp-trac] [WordPress Trac] #48975: Fix unhandled upper/lower case change in wp_unique_filename()
WordPress Trac
noreply at wordpress.org
Tue Dec 17 21:18:19 UTC 2019
#48975: Fix unhandled upper/lower case change in wp_unique_filename()
-------------------------------------------------+-------------------------
Reporter: azaozz | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: high | Milestone: 5.3.2
Component: Upload | Version: 5.3.1
Severity: major | Resolution: fixed
Keywords: has-patch 2nd-opinion has-unit- | Focuses:
tests fixed-major |
-------------------------------------------------+-------------------------
Changes (by azaozz):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"46980" 46980]:
{{{
#!CommitTicketReference repository="" revision="46980"
Upload: Fix the final file name collision test in `wp_unique_filename()`
when uploading a file with upper case extension and limit it to run for
each file in the directory + 1. Add a unit test to catch that in the
future.
Props pbiron, azaozz.
Merges [46966] and [46976] to the 5.3 branch.
Fixes #48975.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48975#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list