Make WordPress Core


Ignore:
Timestamp:
09/19/2006 03:05:08 AM (20 years ago)
Author:
ryan
Message:

Encode percent to avoid broken permalinks. Props majelbstoat. fixes #569

File:
1 edited

Legend:

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

    r4187 r4195  
    112112                        $pathinfo = $_SERVER['PATH_INFO'];
    113113                        $pathinfo_array = explode('?', $pathinfo);
    114                         $pathinfo = $pathinfo_array[0];
     114                        $pathinfo = str_replace("%", "%25", $pathinfo_array[0]);
    115115                        $req_uri = $_SERVER['REQUEST_URI'];
    116116                        $req_uri_array = explode('?', $req_uri);
Note: See TracChangeset for help on using the changeset viewer.