Actions
Bug #104290
openBase URL with a language without slash at the end, in some cases responds with 404
Status:
New
Priority:
Should have
Assignee:
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2024-07-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
url, language, 404
Complexity:
Is Regression:
Sprint Focus:
Description
I had two languages configured in my config.yaml, German and English. The base URL for the English Language was /en . This however produced a bug which made TYPO3 to respond with a 404.
Steps to reproduce:
1: I created a page with the slug /engage
2: call the page
3: responded with 404
The issue:
TYPO3 called the page as gage handling the en as the actual language. Of course there was no /gage page, so it responded with 404.
The fix:
i added a slash in the end of the base ( /en/ ) and then it worked
Potential fix for people like me that didn't pay attention to the detail:
Make sure that the core adds the slash if its missing
Actions