Actions
Bug #91245
closedfoo/index.html leads to 404 since TYPO3 9.5.16
Start date:
2019-06-27
Due date:
2019-06-27
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
Using a configuration like
routeEnhancers: PageTypeSuffix: type: PageType default: '.html' map: '.html': 0
in TYPO3 <= 9.5.15 creates URLs like https://www.example.org/foo/bar.html but also allows access using https://www.example.org/foo/bar/index.html
With TYPO3 9.5.16 https://www.example.org/foo/bar/index.html returns HTTP 404
Updated by Stephan Großberndt over 4 years ago
- Related to Bug #91235: News Detail Page 404 after upgrade 9.5.16 added
Updated by Stephan Großberndt over 4 years ago
- Related to Bug #91246: routeEnhancer defaults not applied in TYPO3 v9.5.16 added
Updated by Stephan Großberndt over 4 years ago
Reverting https://review.typo3.org/c/Packages/TYPO3.CMS/+/64273 fixes the issue
Updated by Stephan Großberndt over 4 years ago
- Due date set to 2019-06-27
- Start date changed from 2020-04-30 to 2019-06-27
- Follows Bug #88633: Slugs ending with substring "index" result in an 404 error added
Updated by Benni Mack over 4 years ago
Yes. The reason was that if you have a page called "stock-index", then this would not be resolvable.
The solution (if you still want this behaviour, which was not expected) to be working you just need to modify your configuration like this:
routeEnhancers: PageTypeSuffix: type: PageType default: '.html' map: '.html': 0 'index.html': 0
Updated by Benni Mack over 4 years ago
- Status changed from New to Needs Feedback
Does this work for you?
Updated by Oliver Hader over 4 years ago
- Related to deleted (Bug #91246: routeEnhancer defaults not applied in TYPO3 v9.5.16)
Updated by Stephan Großberndt over 4 years ago
- Status changed from Needs Feedback to Closed
Yes, works for me. Thanks!
Actions