summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/system_gateways.php')
-rw-r--r--usr/local/www/system_gateways.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system_gateways.php b/usr/local/www/system_gateways.php
index aa0d833..0352e36 100644
--- a/usr/local/www/system_gateways.php
+++ b/usr/local/www/system_gateways.php
@@ -285,7 +285,7 @@ include("head.inc");
<td class="listlr" onclick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='system_gateways_edit.php?id=<?=$i;?>';">
<?php
echo $textss;
- echo $gateway['name'];
+ echo htmlspecialchars($gateway['name']);
if(isset($gateway['defaultgw']))
echo " <strong>(default)</strong>";
echo $textse;
@@ -301,7 +301,7 @@ include("head.inc");
<td class="listr" onclick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='system_gateways_edit.php?id=<?=$i;?>';">
<?php
echo $textss;
- echo $gateway['gateway'] . " ";
+ echo htmlspecialchars($gateway['gateway']) . " ";
echo $textse;
?>
</td>
OpenPOWER on IntegriCloud