Bug 17023: Fix XSS in acqui/z3950_search.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Aug 2016 13:15:09 +0000 (14:15 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 5 Aug 2016 06:16:55 +0000 (08:16 +0200)
commit7cb27f092a4c699fcd428083383eef6f515da3e3
tree9deda0a1aa9b18edf865e44bef46bc9778accc2e
parent98c6d7873535d52609657ecaf256740c95c0e532
Bug 17023: Fix XSS in acqui/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 eb543a90848b97d35aa15052c8881134926a3ed0)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt