Merge pull request #25302 from mziech/patch-2

Use RFC-compliant URL encoding for cookies
This commit is contained in:
Christoph Wurst 2021-01-29 13:38:02 +01:00 committed by GitHub
commit 8fcc0e8d8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class CookieHelper {
$header = sprintf(
'Set-Cookie: %s=%s',
$name,
urlencode($value)
rawurlencode($value)
);
if ($path !== '') {