nextcloud/lib
Lukas Reschke 5588c5f262 Delete cookie instead of emptying value
PHP will handle session cookies with an empty values as an E_WARNING error. ([php/#68063](https://bugs.php.net/bug.php?id=68063))

ownCloud sets the cookie to an empty value in case the session expires, it however after this starts a new session. Due to potential race conditions this can in unlikely cases lead to the fact that the session never gets restarted and the user is left with an empty cookie. PHP tries then to use the empty cookie which makes the instance not usable.

To work around any race condition we now tell PHP to explicitly delete the value which can be done by using `null` as value, PHP will then send a cookie with the value "deleted". Also theepiration has been set to -1.
2015-10-19 19:54:12 +02:00
..
l10n [tx-robot] updated from transifex 2015-10-19 01:55:02 -04:00
private Delete cookie instead of emptying value 2015-10-19 19:54:12 +02:00
public fix IE8 user agent detection 2015-10-09 11:19:06 +02:00
repair Do not update mime types for folders with extension 2015-10-09 18:16:36 +02:00
autoloader.php deduplicate @xenopathic 2015-10-06 09:52:19 +02:00
base.php Delete cookie instead of emptying value 2015-10-19 19:54:12 +02:00