[wp-trac] [WordPress Trac] #8948: permalink redirection is too liberal

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 12 23:32:03 UTC 2010


#8948: permalink redirection is too liberal
--------------------------+-------------------------------------------------
 Reporter:  mrmist        |       Owner:  markjaquith         
     Type:  defect (bug)  |      Status:  new                 
 Priority:  normal        |   Milestone:  Future Release      
Component:  Canonical     |     Version:  2.7                 
 Severity:  normal        |    Keywords:  needs-patch featured
--------------------------+-------------------------------------------------

Comment(by dd32):

 > Thirdly, I added var_dump($_GET); to the index.php template and tried
 hitting /&oogabooga/ which was also treated as indentical to the front
 page. The output was as expected array(0) { }

 I've not seen many servers which are setup to treat ?& as the query
 seperator. Most browsers will encode the & behind the scenes.

 /category/<cat>/ExtraUselessDataThatsNotASubCat/ should be returning a
 404, As it currently is.

 /category/<cat>/&ExtraUselessDataThatsNotASubCat/ seems to handle the &
 incorrectly.

 /category///////<cat>/ seems to handle the slashes incorrectly, That
 should be redirecting too i believe.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8948#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list