From: Jan Schneider Date: Wed, 28 Jul 2010 16:17:22 +0000 (+0200) Subject: Still need to catch the encoded place holder too. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3c6ff771eb3e6e58b27bc7a832830ba421f02cf6;p=horde.git Still need to catch the encoded place holder too. --- diff --git a/horde/login.php b/horde/login.php index 3554487df..d077f94f6 100644 --- a/horde/login.php +++ b/horde/login.php @@ -262,8 +262,8 @@ if (!empty($conf['auth']['alternate_login'])) { $anchor = _addAnchor($url_in, 'param', $vars, $url_anchor); $found = false; foreach ($url->parameters as $key => $value) { - if (strpos($value, '%u')) { - $url->parameters[$key] = str_replace('%u', rawurlencode($anchor), $value); + if (strpos($value, '%25u') || strpos($value, '%u')) { + $url->parameters[$key] = str_replace(array('%25u', '%u'), rawurlencode($anchor), $value); $found = true; } }