Skip to content
Snippets Groups Projects
Commit 3e5a9c78 authored by Oliver Hader's avatar Oliver Hader Committed by Anja Leichsenring
Browse files

[BUGFIX] Streamline routing redirects to default site language

Calling the frontend with an URL that does not contain a valid base
URI for a configured language resulted in a temporary redirect (307)
to the base URI of the default language. In order to allow detecting
outdated links returning a page not found (404) is used.

Example: https://example.org/en/ is the base URI of a valid language
+ https://example.org/ -> redirects to default language /en/ (307)
+ https://example.org/nothing/ -> responds a page not found  (404)

Releases: master, 9.5
Resolves: #88838
Change-Id: I9a3eeb53da8e0bb92799d8e29404513699411078
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61346


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarChris Müller <typo3@krue.ml>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarChris Müller <typo3@krue.ml>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 98bf45ab
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment