projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
108e672
)
Hopefully the final, working version.
author
Jan Schneider
<jan@horde.org>
Wed, 28 Jul 2010 16:24:57 +0000
(18:24 +0200)
committer
Jan Schneider
<jan@horde.org>
Wed, 28 Jul 2010 16:42:15 +0000
(18:42 +0200)
horde/login.php
patch
|
blob
|
history
diff --git
a/horde/login.php
b/horde/login.php
index
d077f94
..
4fc95db
100644
(file)
--- 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, '%
25u') || strpos($value, '%u')
) {
- $url->parameters[$key] = str_replace(
array('%25u', '%u'), rawurlencode($anchor)
, $value);
+ if (strpos($value, '%
u') !== false
) {
+ $url->parameters[$key] = str_replace(
'%u', $anchor
, $value);
$found = true;
}
}