Koha-clms/Koha/Edifact
Martin Renvoize 38cbe6b195
Bug 41709: Fix EDIfact special character escaping in GIR segments and other fields
Apply encode_text function to all text fields in EDIfact Order messages
to properly escape special characters (?, ', :, +) that could break
message parsing. Previously only bibliographic description fields were
escaped, but GIR segments containing collection codes, branch codes,
item types, call numbers, and other data were vulnerable.

Test plan:
- Verify all existing tests pass
- Added comprehensive tests for special character escaping in GIR segments
- Confirmed that fields containing ?, ', :, + are properly escaped

Sponsored-by: OpenFifth <https://openfifth.co.uk/>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-06-29 15:39:00 +00:00
..
File Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
File.pm Bug 40383: (follow-up) Fix failing EdifactModal Cypress tests 2026-05-21 10:49:43 -06:00
Files.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Line.pm Bug 40391: Add support for GIR:LSL (Library Sub-Location) in EDIFACT processing 2026-01-12 10:53:29 -07:00
Message.pm Bug 20253: Optionally use buyer's purchase order number from EDIFACT quote as basket name 2025-11-03 14:13:37 -07:00
Order.pm Bug 41709: Fix EDIfact special character escaping in GIR segments and other fields 2026-06-29 15:39:00 +00:00
Segment.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Transport.pm Bug 38489: Update Koha::Edifact::Transport to use new file transport system 2025-10-14 14:51:48 -06:00