Bugzilla – Attachment 171961 Details for
Bug 33339
Formula injection (CSV Injection) in export functionality
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33339: (Follow up) Fix more cases of formula=empty
Bug-33339-Follow-up-Fix-more-cases-of-formulaempty.patch (text/plain), 1.11 KB, created by
Magnus Enger
on 2024-09-26 07:31:01 UTC
(
hide
)
Description:
Bug 33339: (Follow up) Fix more cases of formula=empty
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2024-09-26 07:31:01 UTC
Size:
1.11 KB
patch
obsolete
>From b5d98d5c5aed1006c8c29211658a59f921465a0d Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@libriotech.no> >Date: Fri, 16 Aug 2024 14:59:20 +0200 >Subject: [PATCH] Bug 33339: (Follow up) Fix more cases of formula=empty > >This patch adds formula=empty to: >- Koha::ERM::EUsage::SushiCounter::_build_COUNTER_report_file() > >Updated 2024-09-26: Earlier version also removed unnecessary >use of formula=empty from two places. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > Koha/ERM/EUsage/SushiCounter.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/ERM/EUsage/SushiCounter.pm b/Koha/ERM/EUsage/SushiCounter.pm >index 4e33f8988f..10bde4ea21 100644 >--- a/Koha/ERM/EUsage/SushiCounter.pm >+++ b/Koha/ERM/EUsage/SushiCounter.pm >@@ -86,7 +86,7 @@ sub _build_COUNTER_report_file { > my @report = ( @{$header}, @{$column_headings}, @{$body} ); > > #TODO: change this to tab instead of comma >- csv( in => \@report, out => \my $counter_file, encoding => "utf-8" ); >+ csv( in => \@report, out => \my $counter_file, encoding => "utf-8", formula => 'empty' ); > > return $counter_file; > >-- >2.34.1
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 33339
:
148717
|
153997
|
170719
|
170720
|
171810
|
171811
|
171819
|
171820
|
171961
|
172088
|
172089