From a6350b8705c98aaecaae3e534dc32325628e5897 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 (cherry picked from commit 46322ffc6e683d0583283e7485548d46c9586019) Signed-off-by: Julian Maurice --- .../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 1d470602b2..ed6d8ae416 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -37,7 +37,7 @@ [% IF ( waiting ) %] - + [% END %] @@ -61,7 +61,7 @@ - + @@ -104,7 +104,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.39.5