Make WordPress Core

Changeset 27724


Ignore:
Timestamp:
03/25/2014 09:04:23 PM (11 years ago)
Author:
nacin
Message:

Multisite: Lowercase REQUEST_URI when matching paths.

props markjaquith, jeremyfelt.
fixes #26403.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-settings.php

    r27665 r27724  
    3636    }
    3737
    38     $path = stripslashes( $_SERVER['REQUEST_URI'] );
     38    $path = strtolower( stripslashes( $_SERVER['REQUEST_URI'] ) );
    3939    if ( is_admin() ) {
    4040        $path = preg_replace( '#(.*)/wp-admin/.*#', '$1/', $path );
Note: See TracChangeset for help on using the changeset viewer.