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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 16 Nov 2023 09:37:10 +0000 (09:37 +0000)
commit0f9fcfcaab668b2da300d0ae43aa77a752558f00
treef956987448fa663c5f607085c5fa16fb1b6b5eaf
parenta0458e030050104c1922ea9eb0ab6e43cc1fd3e3
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>
(cherry picked from commit e2821c7962ca7594f029f4c7fdb0c2f70028eb9b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 898e0d79793e8ff9450242e8e6b2f1f97e2873f8)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
suggestion/suggestion.pl