[wp-trac] [WordPress Trac] #27866: Multisite subdirectory install breaks if network path has uppercase letters
    WordPress Trac 
    noreply at wordpress.org
       
    Thu Apr 17 20:04:32 UTC 2014
    
    
  
#27866: Multisite subdirectory install breaks if network path has uppercase letters
-------------------------------------+------------------------
 Reporter:  nacin                    |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.9.1
Component:  Bootstrap/Load           |     Version:  3.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  multisite
-------------------------------------+------------------------
Changes (by jeremyfelt):
 * keywords:   => has-patch needs-testing
Comment:
 This issue occurs in our comparison of the network path to the site
 request:
 `'/' !== $current_site->path && $current_site->domain === $domain && 0 ===
 strpos( $path, $current_site->path`
 `$path` has gone through `strtolower()` and will fail due to the case
 sensitive `strpos()` check.
 [https://core.trac.wordpress.org/attachment/ticket/27866/27866.diff
 27866.diff] uses `stripos()` instead, which is case insensitive. I have
 not dug too deep on what else could be affected by this yet.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27866#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list