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