diff --git a/Netdisco/share/views/ajax/device/ports.tt b/Netdisco/share/views/ajax/device/ports.tt index 6c9534c4..c2a7fe02 100644 --- a/Netdisco/share/views/ajax/device/ports.tt +++ b/Netdisco/share/views/ajax/device/ports.tt @@ -303,8 +303,8 @@ [% END %] [% IF params.n_netbios %] [% FOREACH nbt IN node.netbios %] -
     \\[% nbt.domain | html %]\[% nbt.nbname | html_entity %] -
     [% nbt.nbuser || '[No User]' | html %]@[% nbt.ip | html_entity %] +
     \\[% nbt.domain | html_entity %]\[% nbt.nbname | html_entity %] +
     [% nbt.nbuser || '[No User]' | html_entity %]@[% nbt.ip | html_entity %] [% END %] [% END %] [% END %] diff --git a/Netdisco/share/views/ajax/report/moduleinventory.tt b/Netdisco/share/views/ajax/report/moduleinventory.tt index dbbda590..c904c2c7 100644 --- a/Netdisco/share/views/ajax/report/moduleinventory.tt +++ b/Netdisco/share/views/ajax/report/moduleinventory.tt @@ -27,32 +27,32 @@ - [% row.description | html %] + [% row.description | html_entity %] - [% row.name | html %] + [% row.name | html_entity %] - [% row.class.ucfirst | html %] + [% row.class.ucfirst | html_entity %] - [% row.type | html %] + [% row.type | html_entity %] - [% row.model | html %] + [% row.model | html_entity %] - [% row.serial | html %] + [% row.serial | html_entity %] [% row.hw_ver | html_entity %] [% row.sw_ver | html_entity %] @@ -76,7 +76,7 @@ - [% row.class.ucfirst | html %] + [% row.class.ucfirst | html_entity %] [% row.count | format_number %] diff --git a/Netdisco/share/views/ajax/report/netbios.tt b/Netdisco/share/views/ajax/report/netbios.tt index e8965e7e..dfefeb65 100644 --- a/Netdisco/share/views/ajax/report/netbios.tt +++ b/Netdisco/share/views/ajax/report/netbios.tt @@ -18,8 +18,8 @@ [% row.domain | html_entity %] [% row.mac.upper | html_entity %] - [% IF row.domain %]\\[% row.domain | html %]\[% END %][% row.nbname | html_entity %] - [% row.nbuser || '[No User]' | html %]@[% row.ip | html_entity %] + [% IF row.domain %]\\[% row.domain | html_entity %]\[% END %][% row.nbname | html_entity %] + [% row.nbuser || '[No User]' | html_entity %]@[% row.ip | html_entity %] [% date.format(row.time_first) | html_entity %] [% date.format(row.time_last) | html_entity %] @@ -38,7 +38,7 @@ [% WHILE (row = results.next) %] - [% row.domain || '(Blank Domain)' | html %] + [% row.domain || '(Blank Domain)' | html_entity %] [% row.count | format_number %] [% END %] diff --git a/Netdisco/share/views/ajax/report/portssid.tt b/Netdisco/share/views/ajax/report/portssid.tt index 7a07d3c9..266bc195 100644 --- a/Netdisco/share/views/ajax/report/portssid.tt +++ b/Netdisco/share/views/ajax/report/portssid.tt @@ -43,7 +43,7 @@ - [% row.ssid | html %] + [% row.ssid | html_entity %] [% row.broadcast ? 'Yes' : 'No' %] [% row.count | format_number %] diff --git a/Netdisco/share/views/ajax/search/node_by_ip.tt b/Netdisco/share/views/ajax/search/node_by_ip.tt index ebc2a234..074a6556 100644 --- a/Netdisco/share/views/ajax/search/node_by_ip.tt +++ b/Netdisco/share/views/ajax/search/node_by_ip.tt @@ -26,8 +26,8 @@ [% row.oui.company | html_entity %] [% END %] NetBIOS - \\[% row.domain | html %]\[% row.nbname | html_entity %] -
[% row.nbuser || '[No User]' | html %]@[% row.ip | html_entity %] + \\[% row.domain | html_entity %]\[% row.nbname | html_entity %] +
[% row.nbuser || '[No User]' | html_entity %]@[% row.ip | html_entity %] [% IF params.stamps %] [% row.time_first_stamp | html_entity %] @@ -60,8 +60,8 @@   [% END %] NetBIOS - \\[% nbt.domain | html %]\[% nbt.nbname | html_entity %] -
[% nbt.nbuser || '[No User]' | html %]@[% nbt.ip | html_entity %] + \\[% nbt.domain | html_entity %]\[% nbt.nbname | html_entity %] +
[% nbt.nbuser || '[No User]' | html_entity %]@[% nbt.ip | html_entity %] [% IF params.stamps %] [% date.format(nbt.time_first) | html_entity %] diff --git a/Netdisco/share/views/ajax/search/node_by_mac.tt b/Netdisco/share/views/ajax/search/node_by_mac.tt index 7043b869..7921de86 100644 --- a/Netdisco/share/views/ajax/search/node_by_mac.tt +++ b/Netdisco/share/views/ajax/search/node_by_mac.tt @@ -134,8 +134,8 @@ [% END %] NetBIOS - \\[% nbt.domain | html %]\[% nbt.nbname | html_entity %] -
[% nbt.nbuser || '[No User]' | html %]@[% nbt.ip | html_entity %] + \\[% nbt.domain | html_entity %]\[% nbt.nbname | html_entity %] +
[% nbt.nbuser || '[No User]' | html_entity %]@[% nbt.ip | html_entity %] [% IF params.stamps %] [% nbt.time_first_stamp | html_entity %]