[wp-trac] [WordPress Trac] #12280: ^ is an escape char in the windows OS

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


#12280: ^ is an escape char in the windows OS
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:  ryan     
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Security      |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by hakre):

 ^ is an escape char in the windows OS. so it has a special meaning. those
 are to be removed from filenames as per definition of function
 sanitize_file_name():

 {{{
  * Removes special characters that are illegal in filenames on certain
  * operating systems and special characters requiring special escaping
  * to manipulate at the command line. [...]
 }}}

 See section "Escape Character" in http://ss64.com/nt/syntax-esc.html

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


More information about the wp-trac mailing list