Make WordPress Core

Changeset 4243


Ignore:
Timestamp:
09/25/2006 02:50:11 AM (18 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/classes.php

    r4239 r4243  
    15041504            $pathinfo = $_SERVER['PATH_INFO'];
    15051505            $pathinfo_array = explode('?', $pathinfo);
    1506             $pathinfo = $pathinfo_array[0];
     1506            $pathinfo = str_replace("%", "%25", $pathinfo_array[0]);
    15071507            $req_uri = $_SERVER['REQUEST_URI'];
    15081508            $req_uri_array = explode('?', $req_uri);
Note: See TracChangeset for help on using the changeset viewer.