Bugzilla – Attachment 160791 Details for
Bug 33259
Optionally set SameSite attribute of cookie to Strict
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33259: (follow-up) perltidy
Bug-33259-follow-up-perltidy.patch (text/plain), 1.91 KB, created by
Lucas Gass
on 2024-01-10 21:21:20 UTC
(
hide
)
Description:
Bug 33259: (follow-up) perltidy
Filename:
MIME Type:
Creator:
Lucas Gass
Created:
2024-01-10 21:21:20 UTC
Size:
1.91 KB
patch
obsolete
>From d5a3c4e5e21b255c9d36f79c06e6e9cb4ad869ed Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 10 Jan 2024 21:18:14 +0000 >Subject: [PATCH] Bug 33259: (follow-up) perltidy > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > .../bug_33259-add_SameSiteSessionCookie_syspref.pl | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_33259-add_SameSiteSessionCookie_syspref.pl b/installer/data/mysql/atomicupdate/bug_33259-add_SameSiteSessionCookie_syspref.pl >index 9c5933aab6..91017d980b 100755 >--- a/installer/data/mysql/atomicupdate/bug_33259-add_SameSiteSessionCookie_syspref.pl >+++ b/installer/data/mysql/atomicupdate/bug_33259-add_SameSiteSessionCookie_syspref.pl >@@ -1,13 +1,15 @@ > use Modern::Perl; > > return { >- bug_number => "33259", >+ bug_number => "33259", > description => "Bug 33259: Optionally set SameSite attribute of cookie to Strict", >- up => sub { >+ up => sub { > my ($args) = @_; >- my ($dbh, $out) = @$args{qw(dbh out)}; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; > >- $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('SameSiteSessionCookie', 'Lax', 'None|Lax|Strict', 'If Strict, then the SameSite attribute of the session cookie will be set to Strict, rather than the default Lax. None means you want the cookie sent iun a third-party context.', 'Choice') }); >+ $dbh->do( >+ q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('SameSiteSessionCookie', 'Lax', 'None|Lax|Strict', 'If Strict, then the SameSite attribute of the session cookie will be set to Strict, rather than the default Lax. None means you want the cookie sent iun a third-party context.', 'Choice') } >+ ); > > say $out "Added new system preference 'SameSiteSessionCookie'"; > }, >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33259
:
148577
|
148578
|
148579
|
148580
|
148589
|
148590
|
150259
|
150557
|
150558
|
150559
|
150560
|
154142
|
154143
|
154144
|
154145
|
160786
|
160787
|
160788
|
160789
|
160790
|
160791
|
160792
|
160793
|
162181
|
162182
|
162183
|
162184
|
162185
|
162186
|
163066
|
163067
|
163068
|
163069
|
163070
|
163071