Index: class.t3lib_userauth.php =================================================================== --- class.t3lib_userauth.php (revision 8635) +++ class.t3lib_userauth.php (working copy) @@ -403,9 +403,9 @@ $cookies = t3lib_div::trimExplode(';', $_SERVER['HTTP_COOKIE']); foreach ($cookies as $cookie) { list ($name, $value) = t3lib_div::trimExplode('=', $cookie); - if ($name == $cookieName) { + if (strcmp(trim($name), $cookieName) == 0) { // Use the last one - $cookieValue = stripslashes($value); + $cookieValue = urldecode($value); } } } else {