[wp-trac] [WordPress Trac] #48975: Fix unhandled upper/lower case change in wp_unique_filename()

WordPress Trac noreply at wordpress.org
Mon Dec 16 23:42:46 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-tests  |     Focuses:
--------------------------------------------------+---------------------
Changes (by azaozz):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46966" 46966]:
 {{{
 #!CommitTicketReference repository="" revision="46966"
 Upload: Fix the final file name collision test in `wp_unique_filename()`
 when uploading a file with upper case extension. Add a unit test to catch
 that in the future.

 Fixes #48975 for trunk.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48975#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list