summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_ntpd.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-08-06 15:57:05 -0400
committerjim-p <jimp@pfsense.org>2014-08-06 15:57:05 -0400
commit88c24958a9625d2daa55adb2bb685c70ec9d6eba (patch)
treeeb911366e9514ad41039f5d31bb9b64b90181f38 /usr/local/www/services_ntpd.php
parentc3e7784158a020f9fbfb4cb87be8a54ab77f1664 (diff)
downloadpfsense-88c24958a9625d2daa55adb2bb685c70ec9d6eba.zip
pfsense-88c24958a9625d2daa55adb2bb685c70ec9d6eba.tar.gz
Encode interface/VIP descriptions before displaying them on the NTP daemon settings.
Diffstat (limited to 'usr/local/www/services_ntpd.php')
-rw-r--r--usr/local/www/services_ntpd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_ntpd.php b/usr/local/www/services_ntpd.php
index d11efc8..ac36844 100644
--- a/usr/local/www/services_ntpd.php
+++ b/usr/local/www/services_ntpd.php
@@ -264,7 +264,7 @@ include("head.inc");
echo "<option value='{$iface}'";
if (is_array($pconfig['interface']))
if (in_array($iface, $pconfig['interface'])) echo " selected=\"selected\"";
- echo ">{$ifacename}</option>\n";
+ echo ">" . htmlspecialchars($ifacename) . "</option>\n";
} ?>
</select>
<br />
OpenPOWER on IntegriCloud