Bug 17023: Fix XSS in cataloguing/z3950_search.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Aug 2016 13:06:41 +0000 (14:06 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 8 Aug 2016 20:11:25 +0000 (08:11 +1200)
commitc6433c52bf9b853b7674fb585a13eecb22fc4b3a
tree7accd3706bdb760d53ba4e49d1f57d731344a526
parent2399cef9b6554ccdc3ba09c8b39b84dceaca2036
Bug 17023: Fix XSS in cataloguing/z3950_search.pl

Test plan:
Enter the following in the different inputs:
<script>alert('XSS')</script>

=> Without this patch you will see the alert
=> With this patch, no more alert

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt