Add support for SameSite cookie attribute
Mitch Jackson [Tue, 10 Dec 2019 21:56:15 +0000 (16:56 -0500)]
Taking advantage of feature implemented in
CGI::Simple 1.22

lib/Catalyst/Engine.pm

index ea85e28..a77c730 100644 (file)
@@ -202,6 +202,7 @@ sub finalize_cookies {
                 -path    => $val->{path},
                 -secure  => $val->{secure} || 0,
                 -httponly => $val->{httponly} || 0,
+                -samesite => $val->{samesite},
             )
         );
         if (!defined $cookie) {