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