Closed (duplicate)
Project:
Drupal core
Version:
6.11
Component:
forms system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 May 2009 at 09:51 UTC
Updated:
9 May 2009 at 01:45 UTC
If I login and redirect to same page, it remove the destination.
Drupal 6.11 Line 625
if (!isset($goto) || ($goto !== FALSE)) {
if (isset($goto)) {
// Remove any fake destination set by drupal_not_found() or
// drupal_access_denied() so that we can properly redirect from those
// pages.
if (isset($_REQUEST['destination']) && $_REQUEST['destination'] == $_GET['q']) {
unset($_REQUEST['destination']);
}
if (is_array($goto)) {
call_user_func_array('drupal_goto', $goto);
}
else {
drupal_goto($goto);
}
}
Comments
Comment #1
excell commentedsubscribing - having problems also.
cross reference - Upgrade forum (upgrade to 6.11): http://drupal.org/node/449386
Comment #2
LynnS commentedsubscribing--this is driving my readers nuts.
Comment #3
lektum commentedexactly the same problem (as described here : http://drupal.org/node/449386)
only since I upgraded from 6.10 to 6.11
Comment #4
eric_a commented#292565: Regression: Can't set /user to 403 page (was: login destination is broken)