diff options
author | jim-p <jimp@pfsense.org> | 2014-08-06 15:52:36 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-08-06 15:52:36 -0400 |
commit | bf2fb3db04c8724dec8eba8fd29dbb507da67655 (patch) | |
tree | 54eed81f991b3872dbe4bf141a2e42d2872ef3e5 /usr | |
parent | 2276d7431996456f3b6bbeffebc5c76ac873f8c5 (diff) | |
download | pfsense-bf2fb3db04c8724dec8eba8fd29dbb507da67655.zip pfsense-bf2fb3db04c8724dec8eba8fd29dbb507da67655.tar.gz |
Encode interface/VIP descriptions before displaying them on the NTP daemon settings.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/services_ntpd.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_ntpd.php b/usr/local/www/services_ntpd.php index c68476b..2f66bc1 100644 --- a/usr/local/www/services_ntpd.php +++ b/usr/local/www/services_ntpd.php @@ -112,7 +112,7 @@ include("head.inc"); echo "<option value='{$iface}'"; if (in_array($iface, $pconfig['interface'])) echo "selected"; - echo ">{$ifacename}</option>\n"; + echo ">" . htmlspecialchars($ifacename) . "</option>\n"; } ?> </select> <br/> |