projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c8fc972
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Engine.pm
b/lib/Catalyst/Engine.pm
index
ea85e28
..
a77c730
100644
(file)
--- a/
lib/Catalyst/Engine.pm
+++ b/
lib/Catalyst/Engine.pm
@@
-202,6
+202,7
@@
sub finalize_cookies {
-path => $val->{path},
-secure => $val->{secure} || 0,
-httponly => $val->{httponly} || 0,
+ -samesite => $val->{samesite},
)
);
if (!defined $cookie) {