summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-16 11:18:42 -0400
committerjim-p <jimp@pfsense.org>2015-06-16 11:18:42 -0400
commite959a567e51112c61fea0bf86e593ff433336fd0 (patch)
tree5c7146ff7446e388324c7d1284411df89d83ebae
parent7a29e654276017c3fe13bc1b3b274fd5ef1adffc (diff)
downloadpfsense-e959a567e51112c61fea0bf86e593ff433336fd0.zip
pfsense-e959a567e51112c61fea0bf86e593ff433336fd0.tar.gz
Encoding in services_dnsmasq.php
-rw-r--r--usr/local/www/services_dnsmasq.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dnsmasq.php b/usr/local/www/services_dnsmasq.php
index 91526f2..9d915cb 100644
--- a/usr/local/www/services_dnsmasq.php
+++ b/usr/local/www/services_dnsmasq.php
@@ -265,7 +265,7 @@ function show_advanced_dns() {
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("Listen Port");?></td>
<td width="78%" class="vtable"><p>
- <input name="port" type="text" id="port" size="6" <?php if ($pconfig['port']) echo "value=\"{$pconfig['port']}\"";?> />
+ <input name="port" type="text" id="port" size="6" <?php if ($pconfig['port']) echo "value=\"" . htmlspecialchars($pconfig['port']) . "\"";?> />
<br /><br />
<?=gettext("The port used for responding to DNS queries. It should normally be left blank unless another service needs to bind to TCP/UDP port 53.");?></p>
</td>
OpenPOWER on IntegriCloud