Bug #19955
closed
redirecting to referer does not work
Added by Sander almost 16 years ago.
Updated about 6 years ago.
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
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.
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.
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?
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
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.
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?
v4 fixes the issue, patch is for trunk. Fixed trunk version should work with 4.2 as well.
committed v5 (attached) to
4_3, rev 6638
trunk, rev 6639
- Status changed from Resolved to Closed
Also available in: Atom
PDF