Bugzilla – Attachment 133214 Details for
Bug 26019
Koha should set SameSite attribute on cookies
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26019: (follow-up) Set SameSite attribute on Cart cookies
Bug-26019-follow-up-Set-SameSite-attribute-on-Cart.patch (text/plain), 1001 bytes, created by
Owen Leonard
on 2022-04-12 12:23:05 UTC
(
hide
)
Description:
Bug 26019: (follow-up) Set SameSite attribute on Cart cookies
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2022-04-12 12:23:05 UTC
Size:
1001 bytes
patch
obsolete
>From a1135263fc3f11af9f3967f804dd26eccaf6cf6e Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 12 Apr 2022 11:36:46 +0000 >Subject: [PATCH] Bug 26019: (follow-up) Set SameSite attribute on Cart cookies > >--- > koha-tmpl/intranet-tmpl/prog/js/basket.js | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/basket.js b/koha-tmpl/intranet-tmpl/prog/js/basket.js >index 38b06a8a96..fa03d434ca 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/basket.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/basket.js >@@ -25,10 +25,10 @@ if(valCookie){ > > function writeCookie(name, val, wd) { > if (wd) { >- parent.opener.document.cookie = name + "=" + val + "; path=/"; >+ parent.opener.document.cookie = name + "=" + val + "; SameSite=Lax; path=/"; > } > else { >- parent.document.cookie = name + "=" + val + "; path=/"; >+ parent.document.cookie = name + "=" + val + "; SameSite=Lax; path=/"; > } > } > >-- >2.20.1
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 26019
:
130565
|
130566
|
131836
|
131837
|
132804
|
132805
|
133212
|
133213
| 133214