Merge pull request #25389 from nextcloud/backport/25302/stable19
[stable19] Use RFC-compliant URL encoding for cookies
This commit is contained in:
commit
68fa9a4f54
|
@ -43,7 +43,7 @@ class CookieHelper {
|
|||
$header = sprintf(
|
||||
'Set-Cookie: %s=%s',
|
||||
$name,
|
||||
urlencode($value)
|
||||
rawurlencode($value)
|
||||
);
|
||||
|
||||
if ($path !== '') {
|
||||
|
|
Loading…
Reference in New Issue