Issue Task Rejected

#104202SiteBaseRedirectResolver Middleware should use 301 for redirects or respect configuration.

Martin R. Krause 06/25/24, 11:03 updated 07/04/24, 19:59

Description

Middleware implementation `TYPO3\CMS\Frontend\Middleware\SiteBaseRedirectResolver` redirects to the language base path. It does so with a http status 307 which is static in the code. As the base url for each language is pretty fixed for a site, this should be a 301 redirect. Alternatively, the middleware should respect the settings from

`settings.redirects.httpStatusCode`

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.