projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 82092 - updated escaping html to use encode-entities
[freeside.git]
/
httemplate
/
browse
/
router.cgi
diff --git
a/httemplate/browse/router.cgi
b/httemplate/browse/router.cgi
index
c7713f3
..
3541118
100644
(file)
--- a/
httemplate/browse/router.cgi
+++ b/
httemplate/browse/router.cgi
@@
-17,8
+17,6
@@
%>
<%init>
%>
<%init>
-use CGI qw(escapeHTML);
-
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Broadband configuration')
|| $FS::CurrentUser::CurrentUser->access_right('Broadband global configuration');
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Broadband configuration')
|| $FS::CurrentUser::CurrentUser->access_right('Broadband global configuration');
@@
-50,8
+48,8
@@
my @links = ( [ "${p2}edit/router.cgi?", 'routernum' ],
);
foreach (FS::router->virtual_fields_hash) {
);
foreach (FS::router->virtual_fields_hash) {
- push @header_fields, e
scapeHTML
($_->{'label'});
- push @fields, e
scapeHTML
($_->{'name'});
+ push @header_fields, e
ncode_entities
($_->{'label'});
+ push @fields, e
ncode_entities
($_->{'name'});
push @links, '';
}
push @links, '';
}