[wp-trac] Re: [WordPress Trac] #3727: WP->parse_request() won't replace $pathinfo when $req_uri contains any %## encoding character.

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 18 18:18:49 GMT 2007


#3727: WP->parse_request() won't replace $pathinfo when $req_uri contains any %##
encoding character.
-------------------------------+--------------------------------------------
 Reporter:  Kirin_Lin          |        Owner:  ryan    
     Type:  defect             |       Status:  reopened
 Priority:  normal             |    Milestone:  2.2.2   
Component:  General            |      Version:  2.2     
 Severity:  blocker            |   Resolution:          
 Keywords:  rewrite permalink  |  
-------------------------------+--------------------------------------------
Comment (by Kirin_Lin):

 Because the $PATH_INFO is implemented by following CGI/1.1
 specification(http://hoohoo.ncsa.uiuc.edu/cgi/env.html), that says:

 {{{
 The extra path information, as given by the client.
 In other words, scripts can be accessed by their virtual pathname,
 followed by extra information at the end of this path.
 The extra information is sent as PATH_INFO.
 This information should be decoded by the server if it comes from
 a URL before it is passed to the CGI script.
 }}}

 That's why...

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3727#comment:29>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list