Koha-clms/Koha
Martin Renvoize ec19d35ca9
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: Lucas Gass <lucas@bywatersolutions.com>
2026-07-13 16:10:21 -06:00
..
Account
…
Acquisition
…
App
…
ArticleRequest
…
Auth
…
Authority
…
BackgroundJob
…
Biblio
…
Cache
…
Cash
…
Charges
…
Checkouts
…
Club
…
CodeList/Unimarc
…
Config
…
Controller
…
Course
…
Database Bug 42846: Koha::Database::DataInconsistency fix typo for biblioitemnumber in MARC 2026-07-09 13:06:37 -06:00
DateTime/Format
…
Devel Bug 42764: Use inline codespell:ignore for SAN-Ouest Provence in templates 2026-06-11 09:53:37 -06:00
ERM
…
Edifact Bug 41709: Fix EDIfact special character escaping in GIR segments and other fields 2026-07-13 16:10:21 -06:00
Exceptions Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
Exporter
…
ExternalContent
…
File
…
Filter/MARC
…
Hold
…
ILL Bug 42397: Add 'ILL_BATCHES' action_logs modulename 2026-07-07 16:07:48 -06:00
Import
…
Indexer
…
Installer
…
Item Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
Library
…
List
…
MetadataRecord
…
Middleware
…
Misc
…
Notice
…
Number
…
OAI
…
Object
…
Objects
…
Old
…
Patron Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
Patrons Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
Plugins
…
Policy
…
Preservation
…
REST Bug 42130: ERM - Index biblio when local title is created/updated 2026-06-08 13:53:17 -06:00
RecordProcessor
…
Result
…
SIP2
…
SMS
…
SMTP
…
Schema Bug 42764: (RMaint follow-up) Fix DBIC 2026-06-11 12:56:17 -06:00
SearchEngine Bug 42485: (RM follow-up): Tidy 2026-06-15 18:12:23 -06:00
Serial
…
Sitemapper
…
Subscription
…
SuggestionEngine
…
Tags
…
Template/Plugin
…
Ticket
…
UI
…
Util Bug 12757: Set float type on OpenDocument cells 2026-07-07 16:07:44 -06:00
XSLT
…
Z3950Responder
…
pdfformat
…
Account.pm
…
ActionLog.pm
…
ActionLogs.pm
…
AdditionalContent.pm
…
AdditionalContents.pm
…
AdditionalContentsLocalization.pm
…
AdditionalContentsLocalizations.pm
…
AdditionalField.pm
…
AdditionalFieldValue.pm
…
AdditionalFieldValues.pm
…
AdditionalFields.pm
…
AdvancedEditorMacro.pm
…
AdvancedEditorMacros.pm
…
ApiKey.pm
…
ApiKeys.pm
…
ArticleRequest.pm
…
ArticleRequests.pm
…
AudioAlert.pm
…
AudioAlerts.pm
…
AuthUtils.pm
…
AuthorisedValue.pm
…
AuthorisedValueCategories.pm
…
AuthorisedValueCategory.pm
…
AuthorisedValues.pm
…
Authorities.pm
…
Authority.pm
…
BackgroundJob.pm
…
BackgroundJobs.pm
…
Biblio.pm Bug 42159: With OPACAuthorIdentifiersAndInformation information lacking from field 110/111 2026-07-09 13:06:52 -06:00
BiblioFramework.pm
…
BiblioFrameworks.pm
…
BiblioUtils.pm
…
Biblioitem.pm
…
Biblioitems.pm
…
Biblios.pm
…
Booking.pm
…
Bookings.pm
…
CSV.pm
…
Cache.pm
…
Caches.pm
…
Calendar.pm Bug 42545: (QA follow-up) Add POD for _init and _holidays and fix incorrect test expectation 2026-05-20 09:04:53 -06:00
Checkout.pm
…
Checkouts.pm
…
CirculationRule.pm
…
CirculationRules.pm
…
Cities.pm
…
City.pm
…
ClassSortRule.pm Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
ClassSortRules.pm
…
ClassSource.pm Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
ClassSources.pm
…
ClassSplitRule.pm Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
ClassSplitRules.pm
…
Club.pm
…
Clubs.pm
…
Config.pm
…
ContentSecurityPolicy.pm
…
CookieManager.pm
…
Course.pm
…
Courses.pm
…
CoverImage.pm
…
CoverImages.pm
…
CsvProfile.pm
…
CsvProfiles.pm
…
CurbsidePickup.pm
…
CurbsidePickupIssue.pm
…
CurbsidePickupIssues.pm
…
CurbsidePickupOpeningSlot.pm
…
CurbsidePickupOpeningSlots.pm
…
CurbsidePickupPolicies.pm
…
CurbsidePickupPolicy.pm
…
CurbsidePickups.pm
…
Database.pm
…
DateUtils.pm
…
Desk.pm
…
Desks.pm
…
EDI.pm Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
Edifact.pm Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
Email.pm
…
Encryption.pm
…
Exception.pm
…
Exceptions.pm
…
ExternalContent.pm
…
FrameworkPlugin.pm Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
Hold.pm
…
HoldGroup.pm
…
HoldGroups.pm
…
Holds.pm
…
I18N.pm
…
ImportBatch.pm
…
ImportBatchProfile.pm
…
ImportBatchProfiles.pm
…
ImportBatches.pm
…
Installer.pm
…
Item.pm
…
ItemType.pm
…
ItemTypes.pm
…
Items.pm
…
KeyboardShortcut.pm
…
KeyboardShortcuts.pm
…
Language.pm
…
Libraries.pm
…
Library.pm
…
Linktracker.pm
…
Logger.pm
…
Manual.pm
…
MarcOrder.pm
…
MarcOrderAccount.pm
…
MarcOrderAccounts.pm
…
MarcOverlayRule.pm
…
MarcOverlayRules.pm
…
MarcSubfieldStructure.pm
…
MarcSubfieldStructures.pm
…
MetaSearcher.pm
…
MetadataIterator.pm
…
MetadataRecord.pm
…
MoreUtils.pm
…
OAIServer.pm
…
OAIServers.pm
…
OAuth.pm
…
OAuthAccessToken.pm
…
OAuthAccessTokens.pm
…
Object.pm
…
Objects.pm Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
OverdueRule.pm
…
OverdueRules.pm
…
Patron.pm
…
Patrons.pm
…
Plugins.pm
…
ProblemReport.pm
…
ProblemReports.pm
…
PseudonymizedTransaction.pm
…
PseudonymizedTransactions.pm
…
Quote.pm
…
Quotes.pm
…
Rating.pm
…
Ratings.pm
…
Recall.pm
…
Recalls.pm
…
RecordProcessor.pm
…
RecordSource.pm
…
RecordSources.pm
…
Report.pm
…
Reports.pm
…
Review.pm
…
Reviews.pm
…
Schema.pm
…
Script.pm
…
SearchEngine.pm
…
SearchField.pm
…
SearchFields.pm
…
SearchFilter.pm
…
SearchFilters.pm
…
SearchMarcMap.pm
…
SearchMarcMaps.pm
…
Serial.pm
…
Serials.pm
…
Session.pm
…
SharedContent.pm
…
SimpleMARC.pm
…
Sitemapper.pm
…
Statistic.pm
…
Statistics.pm
…
Status.pm
…
StockRotationItem.pm
…
StockRotationItems.pm
…
StockRotationRota.pm
…
StockRotationRotas.pm
…
StockRotationStage.pm
…
StockRotationStages.pm
…
Subscription.pm
…
Subscriptions.pm
…
Suggestion.pm Bug 42723: Purchase suggestion 500 when EmailPurchaseSuggestions is set to BranchEmailAddress 2026-06-08 13:53:24 -06:00
SuggestionEngine.pm
…
Suggestions.pm
…
Tag.pm
…
Tags.pm
…
TemplateUtils.pm
…
Ticket.pm
…
Tickets.pm
…
Token.pm
…
TrackedLink.pm
…
TrackedLinks.pm
…
UploadedFile.pm
…
UploadedFiles.pm
…
Uploader.pm
…
Virtualshelf.pm
…
Virtualshelfcontent.pm
…
Virtualshelfcontents.pm
…
Virtualshelfshare.pm
…
Virtualshelfshares.pm
…
Virtualshelves.pm
…
Z3950Responder.pm
…
Z3950Server.pm
…
Z3950Servers.pm
…