]> git.koha-community.org Git - koha.git/commit
Bug 5087: Add server-side check
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 23 Jul 2020 09:15:24 +0000 (11:15 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 30 Jul 2020 17:02:57 +0000 (17:02 +0000)
commitddb722af2675c2a3a3d4f04373c260812c226af7
tree85e14e9227448f4a749f6ab0724e170b92345c63
parent54e88ebe871bf549c7aa0df9d82687830ce348cd
Bug 5087: Add server-side check

If a user to access a CSV profile that is not available at the OPAC we
should redirect to 404.

It will also handle undefined csv_profiles

For instance:
kohadev.mydnsname.org:8080/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=1&format=3
kohadev.mydnsname.org:8080/cgi-bin/koha/opac-downloadcart.pl?bib_list=1/2/&format=3

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c2d45ac0f4687fc4dcf84e9de663f8d3f3a354be)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
opac/opac-downloadcart.pl
opac/opac-downloadshelf.pl