[Koha-bugs] [Bug 28489] CGI::Session is incorrectly serialized to DB in production env / when strict_sql_modes = 0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 31 10:29:42 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28489

--- Comment #3 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
(In reply to Joonas Kylmälä from comment #2)
> The problem is fixed by enabling the Mariadb/Mysql STRICT_TRANS_TABLES mode.

Even though this fixes it I'm not convinved it is the right fix. Maybe we our
output is not UTF8 to the database:
https://metacpan.org/pod/CGI::Session#Influencing-the-encoding-of-the-program's-output

Also here more on this:
https://stackoverflow.com/questions/31049125/perl-cgisession-mysql-thaw-utf-8-data

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list