#90157missing possibility to send return_url Parameter with 403 standard errorhandler
Description
With the new site configuration module (since TYPO3 9.5) you can set a 403 error handler and chose a page of the tree by setting “choose content from page”, e.g. a login page which will be shown if someone tries to access an access restricted page.
fe_login extension gives the possibility to redirect a user to a restricted page he tried to reach, before he was logged in. This is achieved by a get parameter return_url and setting
config {
typolinkLinkAccessRestrictedPages = <uid of the login page><br> typolinkLinkAccessRestrictedPages_addParams = &return_url=###RETURN_URL###<br>}</uid>
see [[https://docs.typo3.org/c/typo3/cms-felogin/master/en-us/Examples/Index.html]]
Unfortunately when using the configuration above for creating a 403 error handler, no parameter return_url is sent, so the user is always redirected to the same welcome page which is defined in the felogin plugin.
My solution was now to use the extension pagenotfoundhandling in which you can define an additional 403 GET param, e.g. ?return_url=###CURRENT_URL###
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 5
- Bug #91844felogin Redirect to referer is not working at all with Site config 403 errorHandler
- Bug #92068felogin (extbase) redirect from GET/POST is not working properly
- Bug #96813BeforeRedirectEvent is not useful at all because it accepts no arguments and the return value is ignored
- Epic #96814Totally broken felogin redirect mechanism
- Bug #100715felogin redirect mode by http referer is not working