]> git.koha-community.org Git - koha.git/commit
Bug 10074 - Encoding problems at login time
authorTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 18 Apr 2013 18:07:40 +0000 (15:07 -0300)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 20 Apr 2013 03:07:01 +0000 (23:07 -0400)
commit5805b5f363bd657d3dac6aeba225438bf80cae9b
tree346754ac0c0c0a5bb6a1154eff9f79509ea18d96
parent66e31e9d2cc4861fa92fe43eb3717eab67274c82
Bug 10074 - Encoding problems at login time

Bug 6554 patched output_html_with_http_headers to encode utf8 data, and Templates.pm to expect utf8 data to be encoded.
(At least) the staff login screen outputs directly to STDOUT (Auth.pm does, WHICH IS WRONG!) and wasn't fixed to do the encoding first.

This patch makes it use output_html_with_http_headers and solves the problem.

Changed 'use' for 'require' as jcamins and marcelr suggested.

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Auth.pm