Bugzilla – Attachment 129004 Details for
Bug 29791
KohaOpacLanguage cookie should set the secure flag if using HTTPS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29791 - KohaOpacLanguage cookie should set the secure flag if using https
Bug-29791---KohaOpacLanguage-cookie-should-set-the.patch (text/plain), 685 bytes, created by
Kyle M Hall (khall)
on 2022-01-04 15:24:43 UTC
(
hide
)
Description:
Bug 29791 - KohaOpacLanguage cookie should set the secure flag if using https
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2022-01-04 15:24:43 UTC
Size:
685 bytes
patch
obsolete
>From bb6c4fd9806600b54360cc29b6837c6103efd33a Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 4 Jan 2022 10:24:18 -0500 >Subject: [PATCH] Bug 29791 - KohaOpacLanguage cookie should set the secure > flag if using https > >--- > C4/Templates.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Templates.pm b/C4/Templates.pm >index e4ee985071..b9fa1590cc 100644 >--- a/C4/Templates.pm >+++ b/C4/Templates.pm >@@ -344,6 +344,7 @@ sub getlanguagecookie { > -value => $language, > -HttpOnly => 1, > -expires => '+3y' >+ -secure => ( C4::Context->https_enabled() ? 1 : 0 ), > ); > > return $cookie; >-- >2.32.0 (Apple Git-132)
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 29791
:
129004
|
129223
|
129224
|
132009
|
132010