#54508Http Redirect 301 prevents browsers from retrieving the correct url after authentication
Description
Hello TYPO3 Core Team
I had an issue with user restricted pages concerning the http status code of the redirect.
The Server sends status 301 and redirects to the configured login page. Status 301 indicates, that the browser may cache the redirect result and may never fetch the original url. So even when correctly authenticated and authorised the user cannot view the page unless he clears the browser cache.
It would be better to use status code 302 in this case, so the browser will try to fetch the original url.
I tracked the issue to file typo3/sysext/cms/tslib/class.tslib_fe.php, line 2788. I changed the status code manually from 301 to 302 ($redirectStatus = t3lib_utility_Http::HTTP_STATUS_302;).
Could you please change the status code or provide the possibility to configure it via typoscript.
Thank you,
Andreas
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.