summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-16 11:37:53 -0400
committerjim-p <jimp@pfsense.org>2015-06-16 11:37:53 -0400
commit1d92e91f9b22849cdf40771a39ec5c22a1022c7c (patch)
tree0cc462f3fcc6cf77140cd96afd14d540574f29cf
parentfaa9164224d7b9929c4254c503d32394329e1a59 (diff)
downloadpfsense-1d92e91f9b22849cdf40771a39ec5c22a1022c7c.zip
pfsense-1d92e91f9b22849cdf40771a39ec5c22a1022c7c.tar.gz
Encoding in system_advanced_admin.php
-rw-r--r--usr/local/www/system_advanced_admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced_admin.php b/usr/local/www/system_advanced_admin.php
index 36eb7a3..3f35cc2 100644
--- a/usr/local/www/system_advanced_admin.php
+++ b/usr/local/www/system_advanced_admin.php
@@ -504,7 +504,7 @@ function prot_change() {
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("SSH port"); ?></td>
<td width="78%" class="vtable">
- <input name="sshport" type="text" id="sshport" value="<?php echo $pconfig['sshport']; ?>" />
+ <input name="sshport" type="text" id="sshport" value="<?php echo htmlspecialchars($pconfig['sshport']); ?>" />
<br />
<span class="vexpl"><?=gettext("Note: Leave this blank for the default of 22."); ?></span>
</td>
OpenPOWER on IntegriCloud