Project

General

Profile

Actions

Bug #19955

closed

redirecting to referer does not work

Added by Sander over 15 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
felogin
Target version:
-
Start date:
2009-02-02
Due date:
% Done:

0%

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

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

10327_v4.diff (10.1 KB) 10327_v4.diff Administrator Admin, 2009-09-30 23:12
10327_v5.diff (10.2 KB) 10327_v5.diff Administrator Admin, 2009-12-07 19:46

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #21052: redirect options do not seem to workClosedSteffen Kamper2009-09-14

Actions
Actions #1

Updated by Sander over 15 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.

Actions #2

Updated by Steffen Kamper over 15 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.

Actions #3

Updated by Peter Klein almost 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?

Actions #4

Updated by Navi over 14 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

Actions #5

Updated by Navi over 14 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.

Actions #6

Updated by Steffen Gebert over 14 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?

Actions #7

Updated by Steffen Kamper over 14 years ago

v4 fixes the issue, patch is for trunk. Fixed trunk version should work with 4.2 as well.

Actions #8

Updated by Navi over 14 years ago

Fixed, seems to work +1.

Actions #9

Updated by Steffen Kamper over 14 years ago

committed v5 (attached) to
4_3, rev 6638
trunk, rev 6639

Actions #10

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF