Project

General

Profile

Actions

Bug #90157

closed

missing possibility to send return_url Parameter with 403 standard errorhandler

Added by Claude Unterleitner over 4 years ago. Updated 6 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2020-01-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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>
typolinkLinkAccessRestrictedPages_addParams = &return_url=###RETURN_URL###
}

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###


Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Bug #91844: felogin Redirect to referer is not working at all with Site config 403 errorHandlerClosed2020-07-23

Actions
Related to TYPO3 Core - Bug #92068: felogin (extbase) redirect from GET/POST is not working properlyClosed2020-08-21

Actions
Related to TYPO3 Core - Bug #96813: BeforeRedirectEvent is not useful at all because it accepts no arguments and the return value is ignoredResolved2022-02-10

Actions
Related to TYPO3 Core - Epic #96814: Totally broken felogin redirect mechanismClosed2022-02-10

Actions
Related to TYPO3 Core - Bug #100715: felogin redirect mode by http referer is not workingResolvedTorben Hansen2023-04-23

Actions
Actions

Also available in: Atom PDF