Skip to content
Snippets Groups Projects
Unverified Commit 8fcc0e8d authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #25302 from mziech/patch-2

Use RFC-compliant URL encoding for cookies
parents 13c7a927 4923c6be
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ class CookieHelper {
$header = sprintf(
'Set-Cookie: %s=%s',
$name,
urlencode($value)
rawurlencode($value)
);
if ($path !== '') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment