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

            Bug ID: 41617
           Summary: itemsearch.pl produces wrong CSV
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: 24.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

I've been following the CSV generation code in Koha for security reasons, and
didn't notice this particular case until now.

This script generates CSV using... templates instead of Text::CSV.

Besides the fact this is wrong, there's a bug in the generated CSV. Bug 40880
solved an issue with the headers, but the produced file contains things like
this:

```
"First field", "Second, field", "Third"
```

the extra space after the comma makes it get interpreted like:

```
First field
<space>"Second
<space>field"
<space>"Third"
```

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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