fix low-impact XSS
authorIvan Kohler <ivan@freeside.biz>
Sun, 17 Feb 2013 23:23:56 +0000 (15:23 -0800)
committerIvan Kohler <ivan@freeside.biz>
Sun, 17 Feb 2013 23:23:56 +0000 (15:23 -0800)
httemplate/edit/REAL_cust_pkg.cgi
httemplate/edit/cust_pkg_detail.html

index 4bcf55c..99e911a 100755 (executable)
@@ -70,7 +70,7 @@ function confirm_changes() {
 
   <TR>
     <TD ALIGN="right">Comment</TD>
-    <TD BGCOLOR="#ffffff"><% $part_pkg->comment %></TD>
+    <TD BGCOLOR="#ffffff"><% $part_pkg->comment |h %></TD>
   </TR>
 
   <TR>
index 009ed5c..5e10706 100644 (file)
@@ -28,7 +28,7 @@
 
   <TR>
     <TD ALIGN="right">Comment</TD>
-    <TD BGCOLOR="#ffffff"><% $part_pkg->comment %></TD>
+    <TD BGCOLOR="#ffffff"><% $part_pkg->comment |h %></TD>
   </TR>
 
   <TR>