Bugzilla – Attachment 186598 Details for
Bug 36831
Add support for .txt files to the KBART import tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36831: (follow-up): Add formula injection protection
Bug-36831-follow-up-Add-formula-injection-protecti.patch (text/plain), 960 bytes, created by
Lucas Gass (lukeg)
on 2025-09-19 00:13:40 UTC
(
hide
)
Description:
Bug 36831: (follow-up): Add formula injection protection
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-09-19 00:13:40 UTC
Size:
960 bytes
patch
obsolete
>From 2c8659476ecaaf8faa0ad019d1a7e05f710d568a Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 19 Sep 2025 00:11:41 +0000 >Subject: [PATCH] Bug 36831: (follow-up): Add formula injection protection > >Without patch: > >prove /kohadevbox/koha/xt/author/Text_CSV_Various.t FAIL > >With patch: > >prove /kohadevbox/koha/xt/author/Text_CSV_Various.t PASS >--- > Koha/ERM/EHoldings/Title.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/Koha/ERM/EHoldings/Title.pm b/Koha/ERM/EHoldings/Title.pm >index f82a2cf558d..0db844540fc 100644 >--- a/Koha/ERM/EHoldings/Title.pm >+++ b/Koha/ERM/EHoldings/Title.pm >@@ -124,7 +124,8 @@ sub read_file { > sep_char => $delimiter, > quote_char => $quote_char, > binary => 1, >- allow_loose_quotes => 1 >+ allow_loose_quotes => 1, >+ formula => 'empty', > } > ); > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36831
:
166958
|
166959
|
166960
|
166961
|
166989
|
166990
|
166991
|
168431
|
168432
|
168433
|
168434
|
170549
|
170550
|
170551
|
170552
|
170562
|
170563
|
170564
|
170565
|
176319
|
176320
|
176321
|
176322
|
176323
|
176324
|
176325
|
176326
|
176347
|
179679
|
179680
|
179681
|
179682
|
185717
|
185718
|
185719
|
185720
|
186274
|
186275
|
186276
|
186277
| 186598