Skip to content

Commit

Permalink
Merge pull request #25302 from mziech/patch-2
Browse files Browse the repository at this point in the history
Use RFC-compliant URL encoding for cookies
  • Loading branch information
ChristophWurst authored Jan 29, 2021
2 parents 13c7a92 + 4923c6b commit 8fcc0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Http/CookieHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function setCookie(string $name,
$header = sprintf(
'Set-Cookie: %s=%s',
$name,
urlencode($value)
rawurlencode($value)
);

if ($path !== '') {
Expand Down

0 comments on commit 8fcc0e8

Please sign in to comment.