summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_gateways.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/system_gateways.php')
-rw-r--r--src/usr/local/www/system_gateways.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/system_gateways.php b/src/usr/local/www/system_gateways.php
index e297053..271f8f3 100644
--- a/src/usr/local/www/system_gateways.php
+++ b/src/usr/local/www/system_gateways.php
@@ -296,7 +296,7 @@ foreach ($a_gateways as $i => $gateway):
<tr<?=($icon != 'fa-check-circle-o')? ' class="disabled"' : ''?>>
<td title="<?=$title?>"><i class="fa <?=$icon?>"></i></td>
<td>
- <?=$gateway['name']?>
+ <?=htmlspecialchars($gateway['name'])?>
<?php
if (isset($gateway['defaultgw'])) {
echo " <strong>(default)</strong>";
@@ -307,7 +307,7 @@ foreach ($a_gateways as $i => $gateway):
<?=htmlspecialchars(convert_friendly_interface_to_friendly_descr($gateway['friendlyiface']))?>
</td>
<td>
- <?=$gateway['gateway']?>
+ <?=htmlspecialchars($gateway['gateway'])?>
</td>
<td>
<?=htmlspecialchars($gateway['monitor'])?>
OpenPOWER on IntegriCloud