From 7d15bf6f497edf2d24322a1f07ba1cf477952c9c Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 21 Jun 2015 08:18:20 +0000 Subject: [PATCH] Bug 14423 : XSS bug in lateorders 1/ hit a url like http://localhost:8081/cgi-bin/koha/acqui/lateorders.pl?delay=&estimateddeliverydatefrom 2/ Not you get an alert box 3/ Apply patch notice it is fixed 4/ Test functionality still works Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt index 70a15be..f680401 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -98,7 +98,7 @@ $(document).ready(function() { [% IF ( lateorders ) %]
- + [% IF ( letters ) %]

days ago +

  • days ago
  • [% INCLUDE 'date-format.inc' %]
    -- 2.1.0