Bug 17022: Fix XSS in circ/branchtransfers.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Aug 2016 13:00:02 +0000 (14:00 +0100)
committerChris Cormack <chris@bigballofwax.co.nz>
Mon, 8 Aug 2016 07:05:33 +0000 (19:05 +1200)
commit19d670d4b7f115c0034eeda34f202af692224945
tree591decbeefec2139f0824877a2d4a07fbcd98088
parentf54968628736ee7fa05a478ba5020a85375157ee
Bug 17022: Fix XSS in circ/branchtransfers.pl

Test plan:
Enter the following in the barcode input:
    <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 c63d0b311b5e7ba882d19b9b8a71838256de98cf)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 46322ffc6e683d0583283e7485548d46c9586019)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt