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(
|
$header = sprintf(
|
||||||
'Set-Cookie: %s=%s',
|
'Set-Cookie: %s=%s',
|
||||||
$name,
|
$name,
|
||||||
urlencode($value)
|
rawurlencode($value)
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($path !== '') {
|
if ($path !== '') {
|
||||||
|
|
Loading…
Reference in New Issue