Skip to content

Commit

Permalink
Merge pull request #199 from vrurg/cookie-multi-param-fix
Browse files Browse the repository at this point in the history
Fix cases where cookie may have duplicate parameters
  • Loading branch information
patrickbkr authored Oct 23, 2024
2 parents 39022ce + 73d8239 commit 809847d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cro/HTTP/Cookie.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Cro::HTTP::Cookie::CookieBuilder {
%extensions.append(.extension);
}
default {
%args.append($_);
%args{$_[0]} //= $_[1];
}
}
};
Expand Down

0 comments on commit 809847d

Please sign in to comment.