Skip to content

Commit

Permalink
Merge pull request #237 from Dur09/master
Browse files Browse the repository at this point in the history
adding support for Samesite=None attribute
  • Loading branch information
Lee J committed Jan 13, 2020
2 parents ffdcf9a + 15d483e commit 3445049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CGI/Cookie.pm
Expand Up @@ -230,7 +230,7 @@ sub httponly { # HttpOnly
return $self->{'httponly'};
}

my %_legal_samesite = ( Strict => 1, Lax => 1 );
my %_legal_samesite = ( Strict => 1, Lax => 1, None => 1 );
sub samesite { # SameSite
my $self = shift;
my $samesite = ucfirst lc +shift if @_; # Normalize casing.
Expand Down

0 comments on commit 3445049

Please sign in to comment.