diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-01-29 13:38:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 13:38:02 +0100 |
commit | 8fcc0e8d8c463496009762e7759ac230cbe62cfa (patch) | |
tree | f87a8407dd5503cac74346b988e514be6677e43b /lib | |
parent | 13c7a92789099c77f525f56bf6fc9c11c952250c (diff) | |
parent | 4923c6be2537ff4c1fc4d4c9720cc65945854845 (diff) | |
download | nextcloud-server-8fcc0e8d8c463496009762e7759ac230cbe62cfa.tar.gz nextcloud-server-8fcc0e8d8c463496009762e7759ac230cbe62cfa.zip |
Merge pull request #25302 from mziech/patch-2
Use RFC-compliant URL encoding for cookies
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Http/CookieHelper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Http/CookieHelper.php b/lib/private/Http/CookieHelper.php index f7b871c5001..122f4907b2a 100644 --- a/lib/private/Http/CookieHelper.php +++ b/lib/private/Http/CookieHelper.php @@ -43,7 +43,7 @@ class CookieHelper { $header = sprintf( 'Set-Cookie: %s=%s', $name, - urlencode($value) + rawurlencode($value) ); if ($path !== '') { |