[TYPO3-core] RFC: #10327: [felogin] redirecting to referer does not work

Steffen Kamper info at sk-typo3.de
Tue Oct 13 23:24:40 CEST 2009


Hi Susanne,

i don't know how this can happen. Which combination of baseUrl / 
absRefPrefix/feloginBaseURL are you using?

However, it shows that the redirect basically works :)
But, as all, there is a drawback where i have a solution in my drawer.

When redirect with referrer you might redirected to some places you 
don't want, eg
* same page
* in your domain
* unknown domains

So i prepared parameters for filtering like
* noRedirectRefererUrls
* noRedirectRefererPids

they will be filtered out. i think about some logic so you could filter 
a part from your domain like
noRedirectRefererUrls = www.google.de, www.yourdomain.de/branch1

vg Steffen

Susanne Moog schrieb:
> Hi,
> 
> Steffen Kamper schrieb:
>> Hi,
>>
>> i needed a small adjustment, as t3lib_div::removeArrayEntryByValue isn't
>>  possible to remove null, so i had to implode / trimExplode to achieve it.
>>
>> v4 is attached - this bugfix was sponsored by a client, where it was
>> used in his site, so tested successfully.
>>
>> vg Steffen
> 
> 
> I just tested it and got an error. This may be because the patch did not
> apply cleanly and I tried adjusting the code manually or it may be a
> real bug:
> 
> I have on page http://stardustdev/index.php?id=42 a link to the login
> form --> http://stardustdev/index.php?id=44
> The login form then tries to perform the redirect after login to
> http://stardustdev/http%3A%2F%2Fstardustdev%2Findex.php%3Fid%3D42 which
> is wrong for obvious reasons.
> 
> (Perhaps it's because I'm using "stardustdev" as domain on my local
> server...)
> 
> Best regards,
> 
> Susanne
> 
> 


More information about the TYPO3-team-core mailing list