summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_gateways.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_gateways.php')
-rw-r--r--src/usr/local/www/status_gateways.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/status_gateways.php b/src/usr/local/www/status_gateways.php
index 2c7ecf4..97c0051 100644
--- a/src/usr/local/www/status_gateways.php
+++ b/src/usr/local/www/status_gateways.php
@@ -106,7 +106,7 @@ display_top_tabs($tab_array);
?>
<tr>
<td>
- <?=$gateway['name'];?>
+ <?=htmlspecialchars($gateway['name']);?>
</td>
<td>
<?php echo lookup_gateway_ip_by_name($gname);?>
@@ -116,7 +116,7 @@ display_top_tabs($tab_array);
if ($gateways_status[$gname]) {
echo $gateways_status[$gname]['monitorip'];
} else {
- echo $gateway['monitorip'];
+ echo htmlspecialchars($gateway['monitorip']);
}
?>
</td>
@@ -180,7 +180,7 @@ display_top_tabs($tab_array);
</td>
<td>
- <?=$gateway['descr']; ?>
+ <?=htmlspecialchars($gateway['descr']); ?>
</td>
</tr>
<?php } ?> <!-- End-of-foreach -->
OpenPOWER on IntegriCloud