felogin and redirect

View: New views
5 Messages — Rating Filter:   Alert me  

felogin and redirect

by Benno Weinzierl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Guys,

please help me, i don't get the behaivour of the redirect_url feature of
felogin (in latest trunk).

If I open the loginform in a browser with the following url the form-action
is changed to the redirect url.
This means if i submit the form and get my password wrong i am directed to a
access-restricted page that cannot be displayed.

Example:
http://www.mydomain.de/login.html?redirect_url=http://www.mydomain.de/myrestrictedpage.html

In this example i would be not redirected to my page after successful login
but i would try to login at the restricted page.

Is there a particular reason for this behaivour? Why does the redirect not
take place after successful login on the same page?

Regards, Benno


_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: felogin and redirect

by Steffen Kamper-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

there is a pending patch in core list regarding redirect. Please test
this one.

vg Steffen
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: felogin and redirect

by Benno Weinzierl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Steffen,

thanks for the info.

As it looks to me this patch causes the problems for me. The proposed Patch
in Bug: 0011396 introduced this.

This Part is the Problem:

+  if ($this->redirectUrl) {
+    // use redirectUrl for action tag because of possible access restricted
pages
+   $markerArray['###ACTION_URI###'] = htmlspecialchars($this->redirectUrl);
+   $this->redirectUrl = '';
+  }

Setting the ACTION of the Form to an restircted page is the problem.

Or is there another Patch to fix this new issue? I cannot find any other
patch using the search.

Regards, Benno

"Steffen Kamper" <info@...> schrieb im Newsbeitrag
news:mailman.1.1254926767.18135.typo3-dev@......
> Hi,
>
> there is a pending patch in core list regarding redirect. Please test this
> one.
>
> vg Steffen


_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: felogin and redirect

by Steffen Kamper-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Benno,

sry for not being precise.

its RFC: #10327: [felogin] redirecting to referer does not work
latest patch 10327_v4.diff

vg Steffen
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: felogin and redirect

by Benno Weinzierl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ah, ok, thank you!

"Steffen Kamper" <info@...> schrieb im Newsbeitrag
news:mailman.1.1254935655.13532.typo3-dev@......
> Hi Benno,
>
> sry for not being precise.
>
> its RFC: #10327: [felogin] redirecting to referer does not work
> latest patch 10327_v4.diff
>
> vg Steffen
>


_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev