summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_openvpn.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-08-27 11:01:46 -0400
committerjim-p <jimp@pfsense.org>2015-08-27 11:01:46 -0400
commit7295f5d0ce173b756e81d08b0a56df1775cc0897 (patch)
tree26cbc4f3ba8df69d8c6769b564c847ecee95ccd2 /src/usr/local/www/status_openvpn.php
parent7bc8484b67d756b80b6c3bd5ffb2560c3add3326 (diff)
downloadpfsense-7295f5d0ce173b756e81d08b0a56df1775cc0897.zip
pfsense-7295f5d0ce173b756e81d08b0a56df1775cc0897.tar.gz
Encode OpenVPN descriptions before display on OpenVPN status
Diffstat (limited to 'src/usr/local/www/status_openvpn.php')
-rw-r--r--src/usr/local/www/status_openvpn.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/status_openvpn.php b/src/usr/local/www/status_openvpn.php
index 1ed732a..2cd2770 100644
--- a/src/usr/local/www/status_openvpn.php
+++ b/src/usr/local/www/status_openvpn.php
@@ -305,7 +305,7 @@ include("head.inc"); ?>
?>
<tr id="<?php echo "r:{$sk_server['port']}:{$sk_server['vpnid']}"; ?>">
<td class="listlr">
- <?=$sk_server['name'];?>
+ <?=htmlspecialchars($sk_server['name']);?>
</td>
<td class="listr">
<?=$sk_server['status'];?>
@@ -376,7 +376,7 @@ include("head.inc"); ?>
?>
<tr id="<?php echo "r:{$client['port']}:{$client['vpnid']}"; ?>">
<td class="listlr">
- <?=$client['name'];?>
+ <?=htmlspecialchars($client['name']);?>
</td>
<td class="listr">
<?=$client['status'];?>
OpenPOWER on IntegriCloud