From dcf120c07c7a6cc3893571704eae26f8473796bc Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 31 May 2010 17:08:03 +0100 Subject: [PATCH] Encode URL. --- horde/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horde/login.php b/horde/login.php index 20d70e749..8cd82e18c 100644 --- a/horde/login.php +++ b/horde/login.php @@ -259,7 +259,7 @@ if (!empty($conf['auth']['alternate_login'])) { } $anchor = _addAnchor($url_in, 'param', $url_anchor); if (strpos($url, '%25u') || strpos($url, '%u')) { - $url = str_replace(array('%25u', '%u'), $anchor, $url); + $url = str_replace(array('%25u', '%u'), rawurlencode($anchor), $url); } else { $url = Horde_Util::addParameter($url, array('url' => $anchor), null, false); } -- 2.11.0