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)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Thu, 4 Aug 2016 18:46:08 +0000 (18:46 +0000)
commitf6e0a619d974fe002ec6a920206c7bc2808bce26
tree1774f28b0f58d5c84253bd24d746e67dc57ea6de
parentf563ba795e4863328ff4930e7877caae9458206c
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: Brendan Gallagher <brendan@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt