Koha/svc
Aleisha Amohia 73880de0c4
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 11:05:32 -03:00
..
cataloguing
club Bug 35942: OPAC user can enroll several times to the same club [23.05.x] 2024-02-22 14:35:01 +00:00
config Bug 34369: Require CSRF token for updating system preferences 2023-09-26 21:29:27 -10:00
letters
mana
members
records
virtualshelves Bug 34913: Adjust C4::Utils::DataTables::VirtualShelves 2024-03-19 19:19:13 +00:00
article_request
authentication
authorised_values
barcode Bug 37464: Validate "type" sent to barcode/svc 2024-08-13 11:05:31 -03:00
bib Bug 35181: Don't pass undef to header 2023-11-09 21:10:13 -10:00
bib_framework
bib_profile
checkin
checkout_notes
checkouts Bug 33944: Don't fetch item object unless using recalls 2023-07-17 14:42:23 +01:00
convert_report Bug 34533: jsdiff library missing from guided reports page 2023-08-29 20:46:54 -10:00
cover_images
creator_batches
holds
import_bib
localization
new_bib
problem_reports
recall
renew Bug 27249: Prevent infinite loop when searching for an open day 2023-10-24 20:27:34 -10:00
report Bug 37508: Throw error if password column is detected in SQL report 2024-08-13 11:05:32 -03:00
return_claims
split_callnumbers