summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-16 11:45:34 -0400
committerjim-p <jimp@pfsense.org>2015-06-16 11:45:34 -0400
commitd674c38db203d12e6000a16a410bcd74d4f744f8 (patch)
tree6a30fb438de50cc84cd836447698e224bb8a7e36 /usr/local/www
parent3642b3489d0833c1206463e252e38ba200bf9c02 (diff)
downloadpfsense-d674c38db203d12e6000a16a410bcd74d4f744f8.zip
pfsense-d674c38db203d12e6000a16a410bcd74d4f744f8.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 ce517dc..528cdb6 100644
--- a/usr/local/www/services_unbound.php
+++ b/usr/local/www/services_unbound.php
@@ -264,7 +264,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