[wp-trac] [WordPress Trac] #17345: Incorrect slash in URL when pagename parameter used

WordPress Trac wp-trac at lists.automattic.com
Sat May 7 03:05:08 UTC 2011


#17345: Incorrect slash in URL when pagename parameter used
-------------------------+-----------------------------
 Reporter:  egorpromo    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  3.1.2
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Suppose I have 2 pages and page-1 is a parent of page-2. So I can see my
 page-2 in this way: http://mysite.ru/?pagename=page-1/page-2
 But this is incorrect because there is one rule in the latest RFC. All
 symbols except . _ ~ 0-9 a-z A-Z in URL after ? must be URL encoded.
 Additionally if I have permanent URL and I use
 http://mysite.ru/?pagename=page-2 i have redirect to
 http://mysite.ru/page-1/page-2/?pagename=page-2. And I have page 404 "Not
 Found" here, but if i erase all symbols after ? sign all is correct.

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


More information about the wp-trac mailing list