diff --git a/html/includes/dev-overview-data.inc.php b/html/includes/dev-overview-data.inc.php
index 04c4de3dd..defeb6d44 100644
--- a/html/includes/dev-overview-data.inc.php
+++ b/html/includes/dev-overview-data.inc.php
@@ -68,14 +68,14 @@ if ($device['sysContact']) {
Contact | ';
if (get_dev_attrib($device, 'override_sysContact_bool')) {
echo '
- '.htmlspecialchars(get_dev_attrib($device, 'override_sysContact_string')).' |
+ '.get_dev_attrib($device, 'override_sysContact_string').' |
| SNMP Contact | ';
}
echo '
- '.htmlspecialchars($device['sysContact']).' |
+ '.$device['sysContact'].' |
';
}
diff --git a/html/includes/print-alerts.inc.php b/html/includes/print-alerts.inc.php
index d9758a0f3..ac75278fb 100644
--- a/html/includes/print-alerts.inc.php
+++ b/html/includes/print-alerts.inc.php
@@ -15,7 +15,7 @@ if (!isset($alert_entry['device'])) {
';
}
-echo ''.htmlspecialchars($alert_entry['name']).' | ';
+echo ''.$alert_entry['name'].' | ';
if ($alert_state != '') {
if ($alert_state == '0') {
diff --git a/html/includes/print-syslog.inc.php b/html/includes/print-syslog.inc.php
index 0f1c1c669..26a0d5b62 100644
--- a/html/includes/print-syslog.inc.php
+++ b/html/includes/print-syslog.inc.php
@@ -8,10 +8,10 @@ if (device_permitted($entry['device_id'])) {
if ($vars['page'] != 'device') {
$syslog_output .= ''.$entry['date'].' |
'.generate_device_link($entry).' |
- '.$entry['program'].' : '.htmlspecialchars($entry['msg']).' | ';
+ '.$entry['program'].' : '.$entry['msg'].' | ';
}
else {
- $syslog_output .= ''.$entry['date'].' '.$entry['program'].' '.htmlspecialchars($entry['msg']).' | ';
+ $syslog_output .= ''.$entry['date'].' '.$entry['program'].' '.$entry['msg'].' | ';
}
$syslog_output .= '';
diff --git a/html/includes/reports/alert-log.pdf.inc.php b/html/includes/reports/alert-log.pdf.inc.php
index d293b474b..13b13526d 100644
--- a/html/includes/reports/alert-log.pdf.inc.php
+++ b/html/includes/reports/alert-log.pdf.inc.php
@@ -66,7 +66,7 @@ foreach (dbFetchRows($full_query, $param) as $alert_entry) {
$data[] = array(
$alert_entry['time_logged'],
$hostname,
- htmlspecialchars($alert_entry['name']),
+ $alert_entry['name'],
$text,
);
}//end if
diff --git a/html/includes/table/alertlog.inc.php b/html/includes/table/alertlog.inc.php
index 8b4d94d3e..3c41acb78 100644
--- a/html/includes/table/alertlog.inc.php
+++ b/html/includes/table/alertlog.inc.php
@@ -77,7 +77,7 @@ foreach (dbFetchRows($sql, $param) as $alertlog) {
'time_logged' => $alertlog['humandate'],
'details' => '',
'hostname' => ''.generate_device_link($dev, shorthost($dev['hostname'])).'
'.$fault_detail.'
',
- 'alert' => htmlspecialchars($alertlog['alert']),
+ 'alert' => $alertlog['alert'],
'status' => " $text",
);
}//end foreach
diff --git a/html/includes/table/eventlog.inc.php b/html/includes/table/eventlog.inc.php
index 62edbbefd..6390b0d0f 100644
--- a/html/includes/table/eventlog.inc.php
+++ b/html/includes/table/eventlog.inc.php
@@ -66,7 +66,7 @@ foreach (dbFetchRows($sql, $param) as $eventlog) {
'datetime' => $eventlog['humandate'],
'hostname' => generate_device_link($dev, shorthost($dev['hostname'])),
'type' => $type,
- 'message' => htmlspecialchars($eventlog['message']),
+ 'message' => $eventlog['message'],
);
}
diff --git a/html/includes/table/syslog.inc.php b/html/includes/table/syslog.inc.php
index 987aac65a..bd80e7b5f 100644
--- a/html/includes/table/syslog.inc.php
+++ b/html/includes/table/syslog.inc.php
@@ -66,7 +66,7 @@ foreach (dbFetchRows($sql, $param) as $syslog) {
'timestamp' => $syslog['date'],
'device_id' => generate_device_link($dev, shorthost($dev['hostname'])),
'program' => $syslog['program'],
- 'msg' => htmlspecialchars($syslog['msg']),
+ 'msg' => $syslog['msg'],
);
}
diff --git a/html/pages/devices.inc.php b/html/pages/devices.inc.php
index 6d446d5c1..eb98e18ef 100644
--- a/html/pages/devices.inc.php
+++ b/html/pages/devices.inc.php
@@ -466,7 +466,7 @@ var grid = $("#devices").bootgrid({
return {
id: "devices",
format: '',
- hostname: '',
+ hostname: '',
os: '',
version: '',
hardware: '',
diff --git a/html/pages/syslog.inc.php b/html/pages/syslog.inc.php
index bd708c175..d0a8f905d 100644
--- a/html/pages/syslog.inc.php
+++ b/html/pages/syslog.inc.php
@@ -81,10 +81,10 @@ var grid = $("#syslog").bootgrid({
{
return {
id: "syslog",
- device: '',
- program: '',
- to: '',
- from: '',
+ device: '',
+ program: '',
+ to: '',
+ from: '',
};
},
url: "ajax_table.php"