Bug #19955
closedredirecting to referer does not work
0%
Description
It seem that the redirect option "Defined by referer" does not work, when i enable it, it gives me my website with no content in it.
The PHP referer var is filled when echo'ing.
Redirect by usergroup works fine.
TYPO3 4.2.3
felogin 1.0.0 and 1.1.0
(issue imported from #M10327)
Files
Updated by Sander almost 16 years ago
Correction, the 1.1.0 version from Trunk i got from you will not show the login box at all.
Can't test if referer works there.
Updated by Steffen Kamper almost 16 years ago
I found 2 problems:
1) when setting referer, you come to login page. Now you enter your data and press submit button - referer will be overwritten with actual page
Solution: save referer in hidden form field if needed.
2) the redirect process overwrites the redirect_url. If the last option has empty url, other urls are lost
Solution: use array in redirect options, remove empty values and use last found url.
Patch is attached.
Updated by Peter Klein over 15 years ago
Patch doesn't work with the 1.0.0 version of felogin, and the 1.1.0 version from the 4.3 SVN doesn't display anything in FE when used on a 4.2 system.
Any chance of getting this fixed for 4.2 versions of TYPO3?
Updated by Navi about 15 years ago
You can make the 1.2.0 version display in 4.2.x by setting this in your TS Setup:
plugin.tx_felogin_pi1 = USER_INT
Updated by Navi about 15 years ago
Also it seems this patch does not work anymore on the 1.2.0 version.
When setting the different redirect options , for example:
groupLogin,referer,getpost
In the end no redirect is done at all
We are willing to sponsor this issue.
Updated by Steffen Gebert about 15 years ago
Just bumped the RFC up again.
Maybe you could have a look at the core-list thread. There were some fixes in felogin. Maybe this problem was already covered by one and this is a duplicate.
Have you tested the latest trunk version?
Updated by Steffen Kamper about 15 years ago
v4 fixes the issue, patch is for trunk. Fixed trunk version should work with 4.2 as well.
Updated by Steffen Kamper almost 15 years ago
committed v5 (attached) to
4_3, rev 6638
trunk, rev 6639