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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 14 Nov 2023 18:54:11 +0000 (08:54 -1000)
commit898e0d79793e8ff9450242e8e6b2f1f97e2873f8
treef431edfa72f34a0713bbc1ff189d99671ef3136b
parent5ca56bf8b380644ddc35d5f72c8f14707489efdc
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>
suggestion/suggestion.pl