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

WordPress Trac noreply at wordpress.org
Mon Dec 16 09:12:17 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 karl94):

 @azaozz it's unclear to me how this could trigger a fatal error, could you
 be more specific?
 To my knowledge in PHP a rename() call should only trigger warnings, not
 fatal errors. Do you have an example of fatal error message caused by
 this?

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


More information about the wp-trac mailing list