Don't try to encode a null SSID in Port SSID report
This commit is contained in:
@@ -64,7 +64,7 @@ $(document).ready(function() {
|
|||||||
{
|
{
|
||||||
"data": 'ssid',
|
"data": 'ssid',
|
||||||
"render": function(data, type, row, meta) {
|
"render": function(data, type, row, meta) {
|
||||||
return '<a href="[% uri_for('/report/portssid') %]?ssid=' + encodeURIComponent(data) + '">' + he.encode(data) + '</a>';
|
return '<a href="[% uri_for('/report/portssid') %]?ssid=' + encodeURIComponent(data) + '">' + he.encode(data || '') + '</a>';
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"data": 'broadcast',
|
"data": 'broadcast',
|
||||||
|
|||||||
Reference in New Issue
Block a user