projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ffde44
)
Fix determination of session auth data.
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 28 Jan 2010 22:08:13 +0000
(15:08 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 28 Jan 2010 22:08:13 +0000
(15:08 -0700)
framework/Auth/lib/Horde/Auth.php
patch
|
blob
|
history
diff --git
a/framework/Auth/lib/Horde/Auth.php
b/framework/Auth/lib/Horde/Auth.php
index
52c78d0
..
70cae63
100644
(file)
--- a/
framework/Auth/lib/Horde/Auth.php
+++ b/
framework/Auth/lib/Horde/Auth.php
@@
-952,11
+952,12
@@
class Horde_Auth
return false;
}
- $endpos = $pos + 7;
+ $pos += 11;
+ $endpos = $pos + 1;
while ($endpos !== false) {
$endpos = strpos($session_data, '|', $endpos);
- $data = @unserialize(substr($session_data, $pos
+ 7
, $endpos));
+ $data = @unserialize(substr($session_data, $pos, $endpos));
if (is_array($data)) {
return empty($data)
? false