There was an error while loading. Please reload this page.
1 parent 4ca6895 commit 66680c6Copy full SHA for 66680c6
1 file changed
src/Cookie/ResponseCookie.php
@@ -55,7 +55,7 @@ public static function fromHeader(string $string): ?self
55
$pieces = \array_map('trim', \explode('=', $part, 2));
56
$key = \strtolower($pieces[0]);
57
58
- if (1 === \count($pieces)) {
+ if (\count($pieces) < 2) {
59
switch ($key) {
60
case 'secure':
61
$meta = $meta->withSecure();
0 commit comments