summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_smart.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-12 11:36:13 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-12 11:36:20 -0500
commitdd5bf424c155922b065b45e64733bdf8de620c0f (patch)
tree1b22756ce120544141edc9d3f2159037b955c2bc /usr/local/www/diag_smart.php
parent4656943e59eb19a534c06cc253e266da6c52e915 (diff)
downloadpfsense-dd5bf424c155922b065b45e64733bdf8de620c0f.zip
pfsense-dd5bf424c155922b065b45e64733bdf8de620c0f.tar.gz
Fix XSS issues
Diffstat (limited to 'usr/local/www/diag_smart.php')
-rw-r--r--usr/local/www/diag_smart.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_smart.php b/usr/local/www/diag_smart.php
index 11aae90..05239fa 100644
--- a/usr/local/www/diag_smart.php
+++ b/usr/local/www/diag_smart.php
@@ -208,7 +208,7 @@ switch($action)
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Email Address"); ?></td>
<td width="78%" class="vtable">
- <input type="text" name="smartmonemail" value="<?=$pconfig['smartmonemail']?>"/>
+ <input type="text" name="smartmonemail" value="<?=htmlspecialchars($pconfig['smartmonemail'])?>"/>
</td>
</tr>
<tr>
OpenPOWER on IntegriCloud