correctly urlencode redirects if we have no ntlm available

This commit is contained in:
Ralf Becker 2012-10-30 14:43:10 +00:00
parent 627c65e6dd
commit 49a0d70324

View File

@ -67,7 +67,7 @@ function check_access(&$account)
}
else
{
header('Location: ../../login.php'.(isset($_REQUEST['phpgw_forward']) ? '?phpgw_forward='.$_REQUEST['phpgw_forward'] : ''));
header('Location: ../../login.php'.(isset($_REQUEST['phpgw_forward']) ? '?phpgw_forward='.urlencode($_REQUEST['phpgw_forward']) : ''));
}
exit;
}