XF 1.5 Redirect problem since 1.5.2

stefanstp

Member
Since one of the last updates of xenforo we have problems with the automatic redirect after a successful login.

In the past it was possible to use a login url like this:
/login/login?redirect=myurl.com
or
/forums/index.php?login/&redirect=http://site.com/target

To redirect the user to a specific site after the login. Since one of the last updates xenforo redirects every user to our index page instead the url that was given with the redirect GET variable.
 
I have responded to your ticket.

Ultimately, this is a change we made in XF 1.5. It looks like you are redirecting to a URL that isn't on your site, but we do host matching now to deliberately prevent this case.

I recommend looking into redirecting to a URL on your own server, and let that redirect users to the desired place either through custom code or server side redirects.
 
Top Bottom