Make WordPress Core

Ticket #26403: 26403.3.diff

File 26403.3.diff, 507 bytes (added by jeremyfelt, 10 years ago)
  • src/wp-includes/ms-settings.php

     
    3535                $_SERVER['HTTP_HOST'] = substr( $_SERVER['HTTP_HOST'], 0, -4 );
    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 );
    4141        }