[wp-trac] [WordPress Trac] #10447: get_home_path() fails when home url and site url differ in case

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 19 08:26:48 UTC 2009


#10447: get_home_path() fails when home url and site url differ in case
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  dd32       
     Type:  defect (bug)       |      Status:  new        
 Priority:  normal             |   Milestone:  2.9        
Component:  Filesystem         |     Version:             
 Severity:  normal             |    Keywords:  2nd-opinion
-------------------------------+--------------------------------------------

Comment(by dd32):

 Sanitizing to lowercase is not going to work in all cases.

 Remember most *nix filesystems are case sensitive, and thus, so are the
 URL's generated for paths.

 Without knowing what that function does, given it generates a filesystem
 path, mearly ignoring the domain name part of the settings could be a
 middleground. (As thats the only part that can be considered to be case-
 insensitive on every platform)

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


More information about the wp-trac mailing list