Bug 32457: Fix CGI vulnerability in addorder.pl

Test plan:
Go to acqui/addorder.pl.
Create two items.
Check if results still match your expectations.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b389f9a361)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Marcel de Rooy 2022-12-13 14:31:10 +00:00 committed by Martin Renvoize
parent c47336e24c
commit 427d0b32e9
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -190,7 +190,7 @@ unless($confirm_budget_exceeding) {
foreach (keys %$vars) {
push @vars_loop, {
name => $_,
values => [$input->param($_)],
values => [ $input->multi_param($_) ],
};
}