From 46322ffc6e683d0583283e7485548d46c9586019 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 2 Aug 2016 14:00:02 +0100 Subject: [PATCH] Bug 17022: Fix XSS in circ/branchtransfers.pl MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Test plan: Enter the following in the barcode input: => Without this patch you will see the alert => With this patch, no more alert Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher (cherry picked from commit c63d0b311b5e7ba882d19b9b8a71838256de98cf) Signed-off-by: Frédéric Demians --- .../intranet-tmpl/prog/en/modules/circ/branchtransfers.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt index e2916d9176..7f0ac14cdb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -40,7 +40,7 @@ [% IF ( waiting ) %] - + [% END %] @@ -64,7 +64,7 @@ - + @@ -107,7 +107,7 @@
    [% FOREACH errmsgloo IN errmsgloop %] [% IF ( errmsgloo.errbadcode ) %] -
  • No Item with barcode: [% errmsgloo.msg %]
  • +
  • No Item with barcode: [% errmsgloo.msg | html %]
  • [% END %] [% IF ( errmsgloo.errispermanent ) %]
  • Please return item to home library: [% errmsgloo.msg %]
  • -- 2.20.1