summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-08-27 11:03:10 -0400
committerjim-p <jimp@pfsense.org>2015-08-27 11:03:10 -0400
commit206154295194d88942f419dd4c8d2c824963cf1c (patch)
tree5137b624fea842fea74c6b597af5cc1e762abdef /usr/local
parentd4ff79ed0e8c96507f16925bf27970a66cc3d328 (diff)
downloadpfsense-206154295194d88942f419dd4c8d2c824963cf1c.zip
pfsense-206154295194d88942f419dd4c8d2c824963cf1c.tar.gz
Encode OpenVPN descriptions before display on OpenVPN status
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/status_openvpn.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_openvpn.php b/usr/local/www/status_openvpn.php
index b6aa43c..427115a 100644
--- a/usr/local/www/status_openvpn.php
+++ b/usr/local/www/status_openvpn.php
@@ -286,7 +286,7 @@ include("head.inc"); ?>
<?php foreach ($sk_servers as $sk_server): ?>
<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'];?>
@@ -349,7 +349,7 @@ include("head.inc"); ?>
<?php foreach ($clients as $client): ?>
<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