[wp-trac] [WordPress Trac] #10743: WP rewrite rule bug with & in url path

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 7 19:02:29 UTC 2009


#10743: WP rewrite rule bug with & in url path
--------------------------+-------------------------------------------------
 Reporter:  stephdau      |       Owner:  ryan      
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Permalinks    |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 We've noticed a peculiar bug in the standard rewrite rules for wp if & is
 included in any url, as part of the path, not the query string.

 EGs:
  * http://tekartist.org/&nbsp/anything
  * http://ma.tt/&blah/test

 The rewrite rule serves the default page, without returning a 404.

 My best guess at this time is that what is happening is that the inclusion
 of & in a rewritten path is actually seen as a query param (eg: treated as
 /index.php?&nbsp=...)

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


More information about the wp-trac mailing list