Bug 20582: Reset CGI::PARAM_UTF8 to 1 before each CGI request
commit5f492e3049a23dfb0e35bba4d60a21f7cc848aae
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 6 Oct 2020 11:21:29 +0000 (6 13:21 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Oct 2020 12:34:17 +0000 (6 14:34 +0200)
tree70ecba9e0ca62ed872dfe1e1ce1be3f070f50b5f
parent0f26c7c3d76af06f5a29f00a1c1bbf5fa85fd7b1
Bug 20582: Reset CGI::PARAM_UTF8 to 1 before each CGI request

CGI::Compile calls CGI::initialize_globals before each request, which
resets PARAM_UTF8 to 0
We need to set it back to the correct value

This is the same trick used in debian/templates/plack.psgi

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/App/Plugin/CGIBinKoha.pm