Bugzilla – Attachment 121624 Details for
Bug 28489
CGI::Session is incorrectly serialized to DB in production env / when strict_sql_modes = 0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28489: Fix issues with umlaut in session vars
Bug-28489-Fix-issues-with-umlaut-in-session-vars.patch (text/plain), 771 bytes, created by
Jonathan Druart
on 2021-06-04 08:45:18 UTC
(
hide
)
Description:
Bug 28489: Fix issues with umlaut in session vars
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-06-04 08:45:18 UTC
Size:
771 bytes
patch
obsolete
>From c9121898e1d6dbc0299bf88e52a403e1deea5a09 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 4 Jun 2021 10:44:54 +0200 >Subject: [PATCH] Bug 28489: Fix issues with umlaut in session vars > >--- > C4/Context.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Context.pm b/C4/Context.pm >index e766d838cfc..120b156a379 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -750,7 +750,8 @@ sub set_userenv { > $usersurname, $userbranch, $branchname, $userflags, > $emailaddress, $shibboleth, $desk_id, $desk_name, > $register_id, $register_name >- ) = @_; >+ ) = map { utf8::upgrade($_); $_ } @_; >+ > > my $var=$context->{"activeuser"} || ''; > my $cell = { >-- >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 28489
:
121539
|
121541
|
121563
|
121564
|
121565
|
121570
|
121571
|
121584
|
121585
|
121624
|
121637
|
121638
|
121639
|
121640
|
121648
|
121650
|
121651
|
121652
|
121653
|
121654
|
121831
|
121832
|
121833
|
121834
|
121835
|
121848
|
121849
|
121850
|
121851
|
121852