Project

General

Profile

Actions

Bug #73140

closed

Felogin - redirect needs a right referer

Added by Antoine Bouet almost 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
felogin
Start date:
2016-02-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi all,

With Felogin, the referer is not valid so the redirection doesn't work.

To make it work, change in /typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php :

line 677 :

$redirect_url[] = preg_replace('/[&?]logintype=[a-z]+/', '', $this->referer);

to

$redirect_url[] = preg_replace('/[&?]logintype=[a-z]+/', '', GeneralUtility::getIndpEnv('HTTP_REFERER'));

Then it works :)

Actions

Also available in: Atom PDF