Koha-clms/patroncards
Martin Renvoize 5b825da072
Bug 42747: (QA follow-up) Parameterize query, dedupe, and log rejections
The original fix only whitelisted image_name at the point it's saved
in edit-layout.pl, leaving the actual injection sink in create-pdf.pl
unparameterized. This adds defense-in-depth by fixing the query itself,
avoids a redundant duplicate call to get_all_image_names() (already
fetched earlier in the script as $image_names), and logs rejected
image_name values instead of silently discarding them so tampering
attempts leave an audit trail.

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
2026-07-30 08:22:26 +00:00
..
create-pdf.pl Bug 42747: (QA follow-up) Parameterize query, dedupe, and log rejections 2026-07-30 08:22:26 +00:00
edit-batch.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
edit-layout.pl Bug 42747: (QA follow-up) Parameterize query, dedupe, and log rejections 2026-07-30 08:22:26 +00:00
edit-profile.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
edit-template.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
home.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
image-manage.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
manage.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
print.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00