summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_openvpn.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-08-27 10:36:48 -0400
committerjim-p <jimp@pfsense.org>2015-08-27 10:40:52 -0400
commit7bc8484b67d756b80b6c3bd5ffb2560c3add3326 (patch)
tree6b0a687466615859cf3e7d4b6a86fea7c84cce76 /src/usr/local/www/status_openvpn.php
parent3a9f3078d1845cccee0f18776e746a3be7254161 (diff)
downloadpfsense-7bc8484b67d756b80b6c3bd5ffb2560c3add3326.zip
pfsense-7bc8484b67d756b80b6c3bd5ffb2560c3add3326.tar.gz
Encode the OpenVPN server description 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 8c765d9..1ed732a 100644
--- a/src/usr/local/www/status_openvpn.php
+++ b/src/usr/local/www/status_openvpn.php
@@ -151,7 +151,7 @@ include("head.inc"); ?>
<table style="padding-top:0px; padding-bottom:0px; padding-left:0px; padding-right:0px" width="100%" border="0" cellpadding="0" cellspacing="0" summary="status openvpn">
<tr>
<td colspan="6" class="listtopic">
- <?=$server['name'];?> <?=gettext("Client connections"); ?>
+ <?=htmlspecialchars($server['name']);?> <?=gettext("Client connections"); ?>
</td>
</tr>
<tr>
@@ -225,7 +225,7 @@ include("head.inc"); ?>
<table style="display: none; padding-top:0px; padding-bottom:0px; padding-left:0px; padding-right:0px" width="100%" border="0" cellpadding="0" cellspacing="0" id="tabroute-<?= $i ?>" summary="routing table">
<tr>
<td colspan="6" class="listtopic">
- <?=$server['name'];?> <?=gettext("Routing Table"); ?>
+ <?=htmlspecialchars($server['name']);?> <?=gettext("Routing Table"); ?>
</td>
</tr>
<tr>
OpenPOWER on IntegriCloud