Actions
Bug #96599
openSlugs with and without trailing slash are considered different but will confuse URL handling in frontend
Status:
Needs Feedback
Priority:
Should have
Assignee:
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2022-01-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If pages exist with the slugs "/foobar" and "/foobar/" the checks for duplicate slugs will not change one to a slug with a trailing number.
When you request the URL domain.ext/foobar one of the pages will be accessed. If that page is disabled the frontend will produce a 404 error.
- Foobar ( slug: /foobar ) - Achive - Foobar ( slug: /foobar/ , page hidden)
In this situation domain.ext/foobar produced a 404 error. Changing the slug of the page Foobar in the root to "/foobar-test" made that page accessible. The backend allowed the slug to be renamed back to "/foobar" (the automatic slug generator created that from the page title!).
The workaround was to change the slugs of the page in the archive. This made the active page accessible again.
Actions