From 0da59a28d129728c18481ca80e8841585b69dd0c Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 17 Feb 2013 15:23:56 -0800 Subject: [PATCH] fix low-impact XSS --- httemplate/edit/REAL_cust_pkg.cgi | 2 +- httemplate/edit/cust_pkg_detail.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index 4bcf55c44..99e911ae5 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -70,7 +70,7 @@ function confirm_changes() { Comment - <% $part_pkg->comment %> + <% $part_pkg->comment |h %> diff --git a/httemplate/edit/cust_pkg_detail.html b/httemplate/edit/cust_pkg_detail.html index 009ed5c6e..5e107066d 100644 --- a/httemplate/edit/cust_pkg_detail.html +++ b/httemplate/edit/cust_pkg_detail.html @@ -28,7 +28,7 @@ Comment - <% $part_pkg->comment %> + <% $part_pkg->comment |h %> -- 2.11.0