projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fa379f
)
xss
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 30 Jun 2015 01:59:34 +0000
(18:59 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 30 Jun 2015 01:59:34 +0000
(18:59 -0700)
httemplate/browse/cust_attachment.html
patch
|
blob
|
history
diff --git
a/httemplate/browse/cust_attachment.html
b/httemplate/browse/cust_attachment.html
index
9d62e56
..
f81ec1b
100755
(executable)
--- a/
httemplate/browse/cust_attachment.html
+++ b/
httemplate/browse/cust_attachment.html
@@
-101,7
+101,7
@@
my $orderby = $cgi->param('orderby') || 'custnum';
my $sub_cust = sub {
my $c = qsearchs('cust_main', { custnum => shift->custnum } );
- return $c ?
$c->name
: '<FONT COLOR="red"><B>(not found)</B></FONT>';
+ return $c ?
encode_entities($c->name)
: '<FONT COLOR="red"><B>(not found)</B></FONT>';
};
my $sub_date = sub {