summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-03-28 17:49:40 -0700
committerIvan Kohler <ivan@freeside.biz>2013-03-28 17:49:40 -0700
commit305bd1ffe9c46db5fefffcc41ef6f256374293ee (patch)
tree474595b1deec2ff161b26eee7fd9afefa68ba95b
parent23f228d5db4ae99722235a8739aea046a0b434cd (diff)
fix XSS
-rwxr-xr-xhttemplate/search/cust_main.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi
index 8e3c8133e..2c09c692c 100755
--- a/httemplate/search/cust_main.cgi
+++ b/httemplate/search/cust_main.cgi
@@ -244,7 +244,7 @@
% my $pkg_rowspan = shift @pkg_rowspans;
<% $n1 %><TD CLASS="grid" BGCOLOR="<% $bgcolor %>" ROWSPAN="<% $pkg_rowspan%>">
- <A HREF="<% $pkgview %>"><FONT SIZE=-1><% $pkg_comment %></FONT></A>
+ <A HREF="<% $pkgview %>"><FONT SIZE=-1><% $pkg_comment |h %></FONT></A>
</TD>
% my $n2 = '';