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

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 20 23:49:34 GMT 2009


#9416: Better file name sanitization for wp_unique_filename
-------------------------+--------------------------------------------------
 Reporter:  sivel        |       Owner:  sivel      
     Type:  enhancement  |      Status:  assigned   
 Priority:  normal       |   Milestone:  2.8        
Component:  Upload       |     Version:  2.7.1      
 Severity:  normal       |    Keywords:  needs-patch
-------------------------+--------------------------------------------------

Comment(by sivel):

 There are numerous characters that are not allowed in file names.  And in
 addition there are characters that are allowed in windows but not in *nix
 and vice versa.  In addition if you use a special character that would
 need escaping there are certain instances where the escape character '\'
 would be added to the filename.  I could go on, but my opinion is this is
 needed.

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


More information about the wp-trac mailing list