https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40675 --- Comment #10 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 186457 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186457&action=edit Bug 40675: Add unit tests for SIP line ending normalization This patch adds comprehensive unit tests for the add_field function to verify that all types of line endings (Unix \n, Windows \r\n, Mac \r, and mixed) are properly normalized to spaces to prevent SIP message corruption. Tests cover: - Unix line endings (\n) - Windows line endings (\r\n) - Mac line endings (\r) - Mixed line ending combinations - Normal text without line endings - Empty values -- You are receiving this mail because: You are watching all bug changes.