Koha-clms/svc
Aleisha Amohia 38364e9a17
Bug 37508: Throw error if password column is detected in SQL report
This enhancement prevents SQL queries from being run if they would return a password field from the database table.

To test:

1. Run tests and notice they fail t/db_dependent/Reports/Guided.t

2. Apply patch and restart services

3. Create a public report with an SQL report which would access a password column in a database table
4. Try to run the report. Notice you are met with an error and the results are not shown.
5. Access the JSON URL, you should not get the results and should be shown an error
6. Confirm tests pass t/db_dependent/Reports/Guided.t

Sponsored-by: Reserve Bank of New Zealand
Signed-off-by: David Cook <dcook@prosentient.com.au>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2024-08-13 02:03:22 -03:00
..
cataloguing Bug 31682: Silence automatic linker warn 2022-10-11 10:41:23 -03:00
club Bug 37031: Club enrollment from staff interface fails due to Entrollment typo 2024-07-19 09:30:41 +02:00
config Bug 34369: Require CSRF token for updating system preferences 2023-09-25 18:18:40 -03:00
letters Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
mana
…
members
…
records Bug 32631: Error when previewing record during batch record modification 2023-01-27 16:16:43 -03:00
virtualshelves Bug 34913: Adjust C4::Utils::DataTables::VirtualShelves 2024-01-29 10:15:53 +01:00
article_request
…
authentication
…
authorised_values
…
barcode Bug 37464: Validate "type" sent to barcode/svc 2024-08-13 02:03:20 -03:00
bib Bug 36891: Restore returning 404 from svc/bib when the bib number doesn't exist 2024-07-19 11:31:30 +02:00
bib_framework
…
bib_profile
…
checkin
…
checkout_notes
…
checkouts Bug 25393: (QA follow-up) Tidy 2023-10-20 16:31:24 -03:00
convert_report Bug 34533: jsdiff library missing from guided reports page 2023-08-29 14:37:13 -03:00
cover_images
…
creator_batches
…
holds Bug 33845: Tidy and add update 2023-10-20 16:31:13 -03:00
import_bib Bug 15869: Change framework on overlay 2023-02-07 10:32:22 -03:00
localization
…
new_bib Bug 29697: Replace some missing occurrences 2022-07-25 09:30:30 -03:00
problem_reports
…
recall
…
renew Bug 27249: Prevent infinite loop when searching for an open day 2023-10-17 14:45:31 -03:00
report Bug 37508: Throw error if password column is detected in SQL report 2024-08-13 02:03:22 -03:00
return_claims
…
split_callnumbers
…