summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-01-29 13:38:02 +0100
committerGitHub <noreply@github.com>2021-01-29 13:38:02 +0100
commit8fcc0e8d8c463496009762e7759ac230cbe62cfa (patch)
treef87a8407dd5503cac74346b988e514be6677e43b /lib
parent13c7a92789099c77f525f56bf6fc9c11c952250c (diff)
parent4923c6be2537ff4c1fc4d4c9720cc65945854845 (diff)
downloadnextcloud-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.php2
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 !== '') {