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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Apr 2021 08:47:45 +0000 (10:47 +0200)
commitd82684a328fd4a6d11bd6b414536ee4c05642f0e
tree199479c1ddbeefc6a466c955f48ab256b1255eeb
parent078c88ea95a9f12b324786efb66a84b9c823374e
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>
Koha/Edifact/Order.pm