WordPress.org

Make WordPress Core

Changeset 15960


Ignore:
Timestamp:
10/25/10 14:50:58 (6 years ago)
Author:
westi
Message:

Attempt at a fix for url encoding issues with UTF8 chars. See #10249.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r15861 r15960  
    171171            // filename, if any.  For 404 requests, this leaves us with the 
    172172            // requested permalink. 
    173             $req_uri = str_replace($pathinfo, '', rawurldecode($req_uri)); 
     173            $req_uri = str_replace($pathinfo, '', $req_uri); 
    174174            $req_uri = trim($req_uri, '/'); 
    175175            $req_uri = preg_replace("|^$home_path|", '', $req_uri); 
Note: See TracChangeset for help on using the changeset viewer.