summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authormark <mark>2010-03-25 01:37:19 +0000
committermark <mark>2010-03-25 01:37:19 +0000
commitf6ad19602096411e6248750d840f0a6e2e0ee036 (patch)
tree9a8ab8bf169e2e938a022fdae5c8f274c06e87ba /httemplate
parentd2c621ec6c3d2edbd3d8b44600a92d6773ffa971 (diff)
RT#6226: security fix for customer notes
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/view/cust_main/notes.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html
index a6378f46a..a39610ac5 100755
--- a/httemplate/view/cust_main/notes.html
+++ b/httemplate/view/cust_main/notes.html
@@ -53,7 +53,7 @@
&nbsp;<% $note->otaker%>
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
- &nbsp;<%$note->comments%>
+ &nbsp;<% $note->comments | defang %>
</TD>
% if($edit) {
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>"><% $edit %></TD>
@@ -67,6 +67,8 @@
% }
<%init>
+use HTML::Defang;
+
my $conf = new FS::Conf;
my $curuser = $FS::CurrentUser::CurrentUser;