From db54d17af8ccbe4fda6b89be8cfd4bf2c39f94ce Mon Sep 17 00:00:00 2001 From: Jeff Godin Date: Wed, 1 Aug 2012 16:59:36 -0400 Subject: [PATCH] Use OpenILS::SIP::clean_text on fine_items output Use OpenILS::SIP::clean_text on fine_items output, so that UTF-8 characters don't break SIP2 error detection checksums. Signed-off-by: Jeff Godin --- Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm index 75f030adce..460e78d9ce 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm @@ -637,7 +637,7 @@ sub fine_items { } else { $line .= $xact->last_billing_note; } - push @fines, $line; + push @fines, OpenILS::SIP::clean_text($line); } }; my $log_status = $@ ? 'ERROR: ' . $@ : 'OK'; -- 2.11.0