projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
570836e
)
Encode URL.
author
Jan
<jan@horde.org>
Mon, 31 May 2010 16:08:03 +0000
(17:08 +0100)
committer
Jan Schneider
<jan@horde.org>
Mon, 31 May 2010 16:22:33 +0000
(18:22 +0200)
horde/login.php
patch
|
blob
|
history
diff --git
a/horde/login.php
b/horde/login.php
index
20d70e7
..
8cd82e1
100644
(file)
--- 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);
}