[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
Fri Jun 4 21:45:23 CEST 2021


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

--- Comment #43 from Andrew Nugged <nugged at gmail.com> ---
Thought on swimming 4K, thought on walking.
Such idea: what if we will create own

    CGI::Session::Serialize::yamlxs

and we're good to go then with all for now?

Proof of concept:
https://github.com/nugged/Koha/commit/2c62d311fba86576321337f2596283300013dd47
in:
https://github.com/nugged/Koha/commits/cgi_session_serialize_yamlxs

I there created "CGI::Session::Serialize::yamlxs" package just "inside" of
C4::Auth file, to show that solution.

Jonathan and David: and voila, we might have YAML::XS now for sessions!

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


More information about the Koha-bugs mailing list