fix XSS
authorIvan Kohler <ivan@freeside.biz>
Tue, 26 Mar 2013 23:52:22 +0000 (16:52 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 26 Mar 2013 23:52:22 +0000 (16:52 -0700)
httemplate/edit/bulk-part_pkg.html

index 751bf7e..a1c6f0c 100644 (file)
@@ -12,7 +12,7 @@
 The following packages will be changed:<BR>
 % foreach my $pkgpart (sort keys(%part_pkg)) {
 <INPUT TYPE="hidden" NAME="pkgpart" VALUE="<% $pkgpart %>">
-<% $part_pkg{$pkgpart}->pkg_comment %><BR>
+<% $part_pkg{$pkgpart}->pkg_comment |h %><BR>
 % }
 </DIV>
 <BR>