projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7614985
)
Use OpenILS::SIP::clean_text on fine_items output
user/jeff/sip_fine_items_checksum_friendly
author
Jeff Godin
<jgodin@tadl.org>
Wed, 1 Aug 2012 20:59:36 +0000
(16:59 -0400)
committer
Jeff Godin
<jgodin@tadl.org>
Wed, 1 Aug 2012 21:02:42 +0000
(17:02 -0400)
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 <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
index
75f030a
..
460e78d
100644
(file)
--- 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';