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