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

index 166a3b7..05516b9 100755 (executable)
@@ -38,7 +38,7 @@
 
   <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>