]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 23 Jul 2020 09:17:27 +0000 (11:17 +0200)
commitc2d45ac0f4687fc4dcf84e9de663f8d3f3a354be
tree7a1aa9271dce7119f36104aa861f3e6e3edfd5a9
parentdb15f4af8dc021c0ac06c3447cb87c5e51952cd2
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>
opac/opac-downloadcart.pl
opac/opac-downloadshelf.pl