Add SameSite test (#2069)
This commit is contained in:
parent
6b2347ccbc
commit
8ad7e4fb17
|
@ -76,6 +76,9 @@ ok(
|
|||
count(1);
|
||||
expectOK($res);
|
||||
my $id = expectCookie($res);
|
||||
my $rawCookie = getHeader( $res, 'Set-Cookie' );
|
||||
ok( $rawCookie =~ /;\s*SameSite=None/, 'Found SameSite=None' );
|
||||
count(1);
|
||||
|
||||
# Try to get a redirection for an auth user with a valid url
|
||||
# ----------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user