]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 24 May 2021 15:28:10 +0000 (15:28 +0000)
commit103234691d54a3f818d5835a3954ee66cf1e33ed
tree46f9a3bba46a332e1a112a75aff6370adce7e31e
parente19cbea2902ef14ffdb630d716c15023d5baf5af
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>
(cherry picked from commit bb6161029f401266f17f669d1a7124edb9387023)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/Edifact/Order.pm