[wp-trac] Re: [WordPress Trac] #569: Percent sign (%) in title leads to unusable permalinks

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 22 12:09:29 GMT 2006


#569: Percent sign (%) in title leads to unusable permalinks
--------------------------+-------------------------------------------------
 Reporter:  MC_incubus    |        Owner:  Kitten  
     Type:  defect        |       Status:  reopened
 Priority:  normal        |    Milestone:  2.1     
Component:  General       |      Version:  2.1     
 Severity:  major         |   Resolution:          
 Keywords:  bg|has-patch  |  
--------------------------+-------------------------------------------------
Changes (by majelbstoat):

  * milestone:  => 2.1
  * keywords:  bg|has-patch bg|2nd-opinion => bg|has-patch
  * version:  2.0.2 => 2.1

Comment:

 I believe I've found the problem.  In parse_request() in classes.php, the
 path info is stripped from the end of the requested URI.  However, the
 path is not URI encoded, so it fails to match in the str_replace.  This
 patch urlencodes the path info (minus slashes) so it can be tested
 properly.

 With the patch applied, all permalinks, including encoded ones, are
 followable.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/569>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list