]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1801163: (follow-up) deal with header fields that contain Unicode strings
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Jan 2020 22:55:10 +0000 (17:55 -0500)
committerJason Boyer <JBoyer@eoli.info>
Thu, 23 Jan 2020 12:36:10 +0000 (07:36 -0500)
commit291b07c1f260d1237530209a06e04eb13a8ebc05
treec3c6990934db8060849bd530f332663dae36617c
parent0919b827995478b7584654b4ec0d9e0c19e69e65
LP#1801163: (follow-up) deal with header fields that contain Unicode strings

Since Email::MIME->header_str_set() expects Unicode strings, not octets,
use decode_utf8() on the header values to

To test
-------
[1] Update the biblio.format.record_entry.print A/T event definition
    to include non-ASCII characters in the subject and from headers.
[2] Upon applying the patch series, verifying that the strings provided
    in step 1 are not mangled when the email is sent.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Boyer <JBoyer@eoli.info>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/SendEmail.pm