[wp-trac] [WordPress Trac] #18962: Allow duplicate slugs for different content

WordPress Trac noreply at wordpress.org
Thu Nov 29 16:09:48 UTC 2012


#18962: Allow duplicate slugs for different content
------------------------------+-----------------------------
 Reporter:  maorb             |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Rewrite Rules     |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |
------------------------------+-----------------------------

Comment (by caekcraft):

 More tests:
 I have IA as such at the moment:
 {{{
 /test1/subtest1/  (works perfectly)
 /test2/subtest1/  (works perfectly)
 /test2/subtest2/  (works perfectly)
 }}}
 When I try to navigate to
 {{{/test1/subtest2/}}}, which does not exist, instead of getting a 404
 (which I am expecting), I am instead redirected to
 {{{/test2/subtest2/}}}, which, from an IA point of view, detrimental.
 Also, testing needed if normally I would not have access to
 {{{/test2/subtest2/}}}, after the redirect, will I get a restricted page,
 or bypass security and view the contents?

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


More information about the wp-trac mailing list