#5318 closed defect (bug) (fixed)
'Next page' link broken when using slug that contains the word 'page'
| Reported by: | Eminence | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | 2.3.1 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
The 'Next page' and 'Previous page' links are broken when you're are browsing posts in a category that has 'page' in it's slug. For example:
You are at: http://yourblog.com/index.php/category/frontpage/page/2/
The previous page link incorrectly points to: http://yourblog/index.php/category/front
The next page link incorrectly points to: http://yourblog/index.php/category/front/page/3/
(the correct links should be /index.php/category/frontpage/ and /index.php/category/frontpage/page/3/)
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The attached patch against trunk seems to fix the problem.