summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-16 11:45:56 -0400
committerjim-p <jimp@pfsense.org>2015-06-16 11:45:56 -0400
commite08298127dbe3f00c0789f800d8ed38717e2d54c (patch)
tree72f896b848e13f02e350f004c60ea12d8b9838e4 /usr/local/www
parent55f6b38bca7721dc371d2d0df59a3fd5d8fa5eb7 (diff)
downloadpfsense-e08298127dbe3f00c0789f800d8ed38717e2d54c.zip
pfsense-e08298127dbe3f00c0789f800d8ed38717e2d54c.tar.gz
Encoding in services_unbound.php
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/services_unbound.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_unbound.php b/usr/local/www/services_unbound.php
index 699a3a8..a197c8c 100644
--- a/usr/local/www/services_unbound.php
+++ b/usr/local/www/services_unbound.php
@@ -268,7 +268,7 @@ function show_advanced_dns() {
<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>
OpenPOWER on IntegriCloud