Closed (fixed)
Project:
Redirect 403 to User Login
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Feb 2008 at 00:16 UTC
Updated:
17 Oct 2008 at 20:23 UTC
Hi,
As my installation is placed in www.example.com/somedir/ , I found out that r4032login will lead to error, because it redirects to '/user/login'.
I added $base_path to the globals on line 31 and changed line 34 to the following:
header('Location:' . $base_path . 'user/login?destination=' . drupal_urlencode($_REQUEST['q']), TRUE, 302);
and works fine.
Comments
Comment #1
deekayen commentedThis is probably more drupal-y (untested):
Comment #2
deekayen commentedfixed in CVS revision 1.2
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.