Add SameSite test (#2069)
This commit is contained in:
parent
6b2347ccbc
commit
8ad7e4fb17
|
@ -75,7 +75,10 @@ ok(
|
||||||
);
|
);
|
||||||
count(1);
|
count(1);
|
||||||
expectOK($res);
|
expectOK($res);
|
||||||
my $id = expectCookie($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
|
# Try to get a redirection for an auth user with a valid url
|
||||||
# ----------------------------------------------------------
|
# ----------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user