From 49a0d7032442a013e40f918da3de1b87d57131ac Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 30 Oct 2012 14:43:10 +0000 Subject: [PATCH] correctly urlencode redirects if we have no ntlm available --- phpgwapi/ntlm/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/ntlm/index.php b/phpgwapi/ntlm/index.php index 32d0481f82..fb58afc78c 100644 --- a/phpgwapi/ntlm/index.php +++ b/phpgwapi/ntlm/index.php @@ -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; }