]> git.koha-community.org Git - koha.git/commit
Bug 26989: Safeguard Order Messages from unwanted characters
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 10 Nov 2020 14:30:15 +0000 (14:30 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Apr 2021 09:45:23 +0000 (11:45 +0200)
commitbb6161029f401266f17f669d1a7124edb9387023
tree5e965a9d6d19837dc7540563a7feedbbd0bd591f
parent32721535a9d42a1499ffa45fc0307c6c0d1c81dd
Bug 26989: Safeguard Order Messages from unwanted characters

Carriage returns in notes were causing a supplier's parser
to truncate Order messages received from Koha.
Have removed those and also made a global removal of CR, Line feeds
and tabs - the latter two having the possibility of causing
errors in the future

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
There was no test plan to follow, but the patch appears to be making
sensible changes. If someone wants to provide a thorough test plan I can
re-test.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d82684a328fd4a6d11bd6b414536ee4c05642f0e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Edifact/Order.pm