summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-07-01 11:10:06 -0400
committerjim-p <jimp@pfsense.org>2015-07-01 11:10:06 -0400
commite67c70a3b3035a73d3334b86afb4aac4433ccd4a (patch)
treeca914cc5c01a41f60aaa3c409a43f32e94230c28 /usr/local
parent636dfa95287b088d17a53bf2e82de63ed54a625e (diff)
downloadpfsense-e67c70a3b3035a73d3334b86afb4aac4433ccd4a.zip
pfsense-e67c70a3b3035a73d3334b86afb4aac4433ccd4a.tar.gz
Encode cert/ca descr in services_captiveportal.php
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/services_captiveportal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index 4896be8..eaa3ef7 100644
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -1109,7 +1109,7 @@ function enable_change(enable_change) {
$selected = " selected=\"selected\"";
}
?>
- <option value="<?=$cert['refid'];?>"<?=$selected;?>><?=$cert['descr'];?></option>
+ <option value="<?=$cert['refid'];?>"<?=$selected;?>><?=htmlspecialchars($cert['descr']);?></option>
<?php endforeach; ?>
</select>
<?php else: ?>
OpenPOWER on IntegriCloud