correctly urlencode redirects if we have no ntlm available

This commit is contained in:
Ralf Becker 2012-10-30 14:43:28 +00:00
parent c133b16728
commit 516fc273a9

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;
}