Closed (fixed)
Project:
Login Destination
Version:
6.x-2.12
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Mar 2012 at 11:36 UTC
Updated:
23 Nov 2015 at 00:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
marsdk commentedUsing this path will force it to use drupal_goto() instead.
Comment #2
beautifulmindHello,
In next release, you can write to redirect use to front page of the site. So, you will not have to write drupal_goto.
Regards.
Comment #3
marsdk commentedDo you mean that I should handle the redirect, when I get sent to the frontpage ?
Comment #4
marsdk commentedOh, I don't have any problems with redirecting to internal URLs (like ?destination=node/23), but as soon as I sent it to an external page (like destination=http://www.somedomain.com) it does not redirect due to code in the common.inc file.
Comment #5
rsvelko commentedusing drupal_goto as u propose, breaks many other modules that deal with things related to logins and user registration - content_profile for example. See : http://drupal.org/comment/reply/761254
commit daf53cf commented out the drupal_goto thus in effect removing the "redirect to absolute url" feature.
I think we can have best of both worlds - allowing drupal_goto to be enabled in the settings for people who need it.
But warning them that this will potentially break content_profile and other modules.
So I made it so that we leave it to the user to decide, informing them of the possible consequences.
Comment #7
rsvelko commentedComment #8
rsvelko commented