https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40675

--- Comment #10 from Martin Renvoize (ashimema) 
<[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to