Redirection problem when logged in to site

dboulet - June 4, 2009 - 16:23
Project:Localizer
Version:5.x-3.13
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

After saving the language options in my profile edit page at user/1/edit, I lose access to the site. All requests for http://www.example.com/path get redirected to http://path. This problem is only present while I am logged in to the site.

For now I've commented out the following lines from localizer.module:

Lines 640–643

module_invoke_all('exit', $destination);
session_write_close();
header('Location: '. $destination, TRUE, 302);
exit();

 
 

Drupal is a registered trademark of Dries Buytaert.