Koha-clms/patroncards
Martin Renvoize 5e3741d0e5
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>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
2026-08-05 15:18:23 +12:00
..
create-pdf.pl Bug 42747: (QA follow-up) Parameterize query, dedupe, and log rejections 2026-08-05 15:18:23 +12:00
edit-batch.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
edit-layout.pl Bug 42747: (QA follow-up) Parameterize query, dedupe, and log rejections 2026-08-05 15:18:23 +12:00
edit-profile.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
edit-template.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
home.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
image-manage.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
manage.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
print.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00