Project

General

Profile

Bug #23407 » typo3-v443dev-rev8635.patch

Administrator Admin, 2010-08-20 17:27

View differences:

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 {
(1-1/2)