Merge pull request #237 from Dur09/master
adding support for Samesite=None attribute
Lee J authored 4 years ago
GitHub committed 4 years ago
229 | 229 |
return $self->{'httponly'};
|
230 | 230 |
}
|
231 | 231 |
|
232 | |
my %_legal_samesite = ( Strict => 1, Lax => 1 );
|
|
232 |
my %_legal_samesite = ( Strict => 1, Lax => 1, None => 1 );
|
233 | 233 |
sub samesite { # SameSite
|
234 | 234 |
my $self = shift;
|
235 | 235 |
my $samesite = ucfirst lc +shift if @_; # Normalize casing.
|