diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-10-06 15:24:19 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-10-06 15:24:19 +0200 |
commit | 6a4f22c61f58b80f826408780d6882f0d1041e70 (patch) | |
tree | 141104ccb4b0deae788124daf43d69202b3f4fb4 /lib/public/appframework | |
parent | 191f1b2d49afe980f43bdf6c0cc2c8cbb7f88c91 (diff) | |
download | nextcloud-server-6a4f22c61f58b80f826408780d6882f0d1041e70.tar.gz nextcloud-server-6a4f22c61f58b80f826408780d6882f0d1041e70.zip |
Use `/` if installed in main folder
Otherwise an empty string is used indicating the cookie is only valid for those resources. This can lead to eunexpected behaviour.
Fixes https://github.com/owncloud/core/issues/19196
Diffstat (limited to 'lib/public/appframework')
-rw-r--r-- | lib/public/appframework/http/ioutput.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/appframework/http/ioutput.php b/lib/public/appframework/http/ioutput.php index ba4c031001b..185bc589f22 100644 --- a/lib/public/appframework/http/ioutput.php +++ b/lib/public/appframework/http/ioutput.php @@ -68,9 +68,9 @@ interface IOutput { * @param string $path * @param string $domain * @param bool $secure - * @param bool $httponly + * @param bool $httpOnly * @since 8.1.0 */ - public function setCookie($name, $value, $expire, $path, $domain, $secure, $httponly); + public function setCookie($name, $value, $expire, $path, $domain, $secure, $httpOnly); } |