summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-11-10 11:40:07 -0800
committerIvan Kohler <ivan@freeside.biz>2016-11-10 11:40:07 -0800
commitb97efa7ea7e8f10ea017f20a31ea48e7db8044e5 (patch)
treea25dada0ba5fa2673c493b3aa8d3a54a90ef185a
parentb3396e3be622bc3ffe31f5639053153ee0f7b524 (diff)
xss
-rw-r--r--httemplate/elements/table-tickets.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/httemplate/elements/table-tickets.html b/httemplate/elements/table-tickets.html
index bc02c7c..c63a55e 100644
--- a/httemplate/elements/table-tickets.html
+++ b/httemplate/elements/table-tickets.html
@@ -53,7 +53,7 @@ View
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
- <A HREF=<%$href%>><% $ticket->{subject} %></A>
+ <A HREF=<%$href%>><% $ticket->{subject} |h %></A>
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
@@ -65,7 +65,7 @@ View
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
- <% $ticket->{owner} %>
+ <% $ticket->{owner} |h %>
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
@@ -80,12 +80,13 @@ View
<% $ticket->{content}
? $ticket->{content}.' ('.$ticket->{priority}.')'
: $ticket->{priority}
+ |h
%>
</TD>
% if ( $ss_priority ) {
<TD ALIGN="right" CLASS="grid" BGCOLOR="<% $bgcolor %>">
- <% $ticket->{"CF.{$ss_priority}"} %>
+ <% $ticket->{"CF.{$ss_priority}"} |h %>
</TD>
% }
% if ( $object->isa('FS::cust_main') ) {