[wp-trac] [WordPress Trac] #8948: permalink redirection is too liberal
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 12 15:07:32 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 miqrogroove):
I added {{{var_dump($_GET);}}} to the default single.php template to test
Viper007Bond's claim that ampersands are arbitrarily parsed into query
variables.
First I tried hitting /2010/01/testing-123/&oogabooga/ and that path was
treated as identical to the front page o_O The single.php template didn't
even load, so that was a total failure.
Next, I tried hitting /2010/01/testing-123/&oogabooga/page/1/ and that
path was forwarded to /2009/12/testing/ for no apparent reason. Another
canonical failure.
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) { }
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8948#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list