Make WordPress Core

Changeset 4979


Ignore:
Timestamp:
03/07/2007 01:44:53 AM (18 years ago)
Author:
ryan
Message:

Use rawurldecode. fixes #3727

File:
1 edited

Legend:

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

    r4965 r4979  
    5959            // filename, if any.  For 404 requests, this leaves us with the
    6060            // requested permalink.
    61             $req_uri = str_replace($pathinfo, '', urldecode($req_uri));
     61            $req_uri = str_replace($pathinfo, '', rawurldecode($req_uri));
    6262            $req_uri = trim($req_uri, '/');
    6363            $req_uri = preg_replace("|^$home_path|", '', $req_uri);
Note: See TracChangeset for help on using the changeset viewer.