]> git.koha-community.org Git - koha.git/commit
Bug 33597: Get rid of warning about intranet_bib_list
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 24 Apr 2023 10:23:19 +0000 (10:23 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 11 May 2023 12:18:20 +0000 (13:18 +0100)
commitd11c9fec33f6ebb072094437240408bd8f300a9f
tree19a6b729a9b768b2cb991b9349c1944472d74ec8
parenta3a9761ca891b00473731ef4ca9c3677a42c7fe4
Bug 33597: Get rid of warning about intranet_bib_list

Resolve:
Cookie “intranet_bib_list” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it.
basket_22.1200022.js:67:65

Test plan:
Do not apply this patch.
Logout from staff.
Check browser console warnings.
Apply this patch.
Login and logout again.
Check warnings again.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 95de1f3e92947f157dbbbf789d88beb48645648b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/basket.js