summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_gif_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-08-06 15:53:29 -0400
committerjim-p <jimp@pfsense.org>2014-08-06 15:55:51 -0400
commitc3e7784158a020f9fbfb4cb87be8a54ab77f1664 (patch)
tree64a31a6730c09793016cdf3418143904fcf73939 /usr/local/www/interfaces_gif_edit.php
parent92ca4bc3b4d217a8303ff1ac95eb539ba84727e4 (diff)
downloadpfsense-c3e7784158a020f9fbfb4cb87be8a54ab77f1664.zip
pfsense-c3e7784158a020f9fbfb4cb87be8a54ab77f1664.tar.gz
Encode interface/VIP descriptions before displaying them on the GRE and GIF pages also;
While here, the GRE page was missing IP aliases from its list of bind IPs, add it in.
Diffstat (limited to 'usr/local/www/interfaces_gif_edit.php')
-rw-r--r--usr/local/www/interfaces_gif_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_gif_edit.php b/usr/local/www/interfaces_gif_edit.php
index 42cca50..517965b 100644
--- a/usr/local/www/interfaces_gif_edit.php
+++ b/usr/local/www/interfaces_gif_edit.php
@@ -161,7 +161,7 @@ include("head.inc");
echo "<option value=\"{$ifn}\"";
if ($ifn == $pconfig['if'])
echo " selected=\"selected\"";
- echo ">{$ifinfo}</option>";
+ echo ">" . htmlspecialchars($ifinfo) . "</option>\n";
}
?>
</select>
OpenPOWER on IntegriCloud