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)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 22 Aug 2016 06:48:10 +0000 (08:48 +0200)
commitdf4e1961721070a12c5659c505150732307a2287
tree3ae8ac86668877008f8c806dc9d118ce308f60b0
parenta85aea7a61c0ee87c386c28cca0ee3ce2b2ce4c3
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>
(cherry picked from commit f6e0a619d974fe002ec6a920206c7bc2808bce26)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 98c6d7873535d52609657ecaf256740c95c0e532)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt