Bug 35276: Remove authentication params from suggestion hash
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 7 Nov 2023 12:57:42 +0000 (13:57 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 14 Nov 2023 13:32:38 +0000 (10:32 -0300)
commite2821c7962ca7594f029f4c7fdb0c2f70028eb9b
treeafb6b976d2df86446d3a18052aaed6f067ec2bb5
parentc2a6356d585b3dd202de16d7e363ffd873926b95
Bug 35276: Remove authentication params from suggestion hash

These would be forwarded to Koha::Objects->as_list and crash on
unknown column.

Test plan:
Logout from staff.
Enter URL /suggestion/suggestion.pl
Without this patch, it crashes. Now it does not.

Note: The crash may show auth_forwarded_hash but I also saw
koha_login_context passing by. Same issue.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
suggestion/suggestion.pl