diff options
author | jim-p <jimp@pfsense.org> | 2015-07-01 11:08:39 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-07-01 11:08:39 -0400 |
commit | 0d6b017b2808d42668e09757fab38bc7832ef0da (patch) | |
tree | 4b086bbfbea399922aa5ce7deaaf97490a1d99e8 | |
parent | ae142a104910ac810102abb69e24adf7b8811784 (diff) | |
download | pfsense-0d6b017b2808d42668e09757fab38bc7832ef0da.zip pfsense-0d6b017b2808d42668e09757fab38bc7832ef0da.tar.gz |
Encode cert/ca descr in services_captiveportal.php
-rw-r--r-- | usr/local/www/services_captiveportal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php index 6145949..303c53e 100644 --- a/usr/local/www/services_captiveportal.php +++ b/usr/local/www/services_captiveportal.php @@ -984,7 +984,7 @@ function enable_change(enable_change) { if ($pconfig['certref'] == $cert['refid']) $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: ?> |