summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/CGI.pm2
-rwxr-xr-xMakefile.PL2
2 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index 6e48a2355..9e8ba6c09 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -687,6 +687,8 @@ sub send_cookie {
$paramhash{'-secure'} = 1
if lc( $uri->scheme ) eq 'https';
+ $paramhash{'-samesite'} = 'Lax';
+
push(@{$self->{'Bugzilla_cookie_list'}}, $self->cookie(%paramhash));
}
diff --git a/Makefile.PL b/Makefile.PL
index 4cea5b066..96e340b4f 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -34,7 +34,7 @@ BEGIN {
# PREREQ_PM
my %requires = (
'Algorithm::BloomFilter' => '0.02',
- 'CGI' => '3.51',
+ 'CGI' => '4.31',
'CPAN::Meta::Prereqs' => '2.132830',
'CPAN::Meta::Requirements' => '2.121',
'Class::XSAccessor' => '1.18',