Opened 16 years ago
Closed 15 years ago
#17345 closed enhancement (worksforme)
Incorrect slash in URL when pagename parameter used
| Reported by: | egorpromo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.1.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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.
Change History (4)
Note:
See TracTickets
for help on using tickets.
Unable to reproduce with trunk revision 18519 - WordPress either uses page_id in the query string or pretty .htaccess rewriting, but not pagename as a query identifier.