[wp-trac] [WordPress Trac] #9416: Better file name sanitization for wp_unique_filename

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 18 23:30:58 UTC 2010


#9416: Better file name sanitization for wp_unique_filename
-------------------------------------------+--------------------------------
 Reporter:  sivel                          |        Owner:  sivel 
     Type:  enhancement                    |       Status:  closed
 Priority:  normal                         |    Milestone:  2.8   
Component:  Upload                         |      Version:  2.7.1 
 Severity:  normal                         |   Resolution:  fixed 
 Keywords:  has-patch early tested commit  |  
-------------------------------------------+--------------------------------

Comment(by hakre):

 The to this ticket related changeset [11178] did break a test of the
 testsuite (wp_unique_filename) because it:

  1. removes dot in front
  2. does not removes % any longer
  3. does not remove chars out of the 7bit ascii range any longer

 The problem has been reporte to sivel as well. I might open a new ticket
 related to that problem.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9416#comment:37>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list