[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:00:52 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
-------------------------------+--------------------------------------------
 If you set your blog's url and site url to the same thing, albeit with
 differing caps, get_home_path() returns / instead of ABSPATH.

 We should probably sanitize/lowercase the two. I've a user who was
 reporting the weirdest error related to an open_basedir restriction. No
 wonder it was returning errors...

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


More information about the wp-trac mailing list