[wp-trac] [WordPress Trac] #8948: permalink redirection is too liberal
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 13 00:16:21 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):
> /category/<cat>/&ExtraUselessDataThatsNotASubCat/ seems to handle the &
incorrectly.
Fixed, The new eval() replacement query parser was creating
{{{category_name=cat-name-here/&foo=bar&post_name=blah}}}, and parsing
that, Whereas, It should've been treating &foo=bar as part of the category
name. Fixed in [13071]
> /category///////<cat>/ seems to handle the slashes incorrectly, That
should be redirecting too i believe.
That doesnt happen for posts, as we generate the posts permalink and
redirect if its different, [13072] strips multiple slashes out of the URL
path if they're present, that should solve that problem.
> /yyyy/mm/slug1/slug2/ redirects to /yyyy/mm/slug2/ I think this is the
opposite of what is supposed to happen in canonicalization, since the
canonical URL for /yyyy/mm/slug1/garbage* should always be /yyyy/mm/slug1/
Remains.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8948#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list