Project

General

Profile

Bug #23407 » bug_15503.patch

Administrator Admin, 2010-10-06 10:49

View differences:

/t3lib/class.t3lib_userauth.php (working copy)
$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 {
(2-2/2)