diff options
author | jim-p <jimp@pfsense.org> | 2015-08-27 10:38:44 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-08-27 10:38:44 -0400 |
commit | d4ff79ed0e8c96507f16925bf27970a66cc3d328 (patch) | |
tree | fbb18d097f5fb7e7b116e627cdfe9c251cf41763 /usr/local | |
parent | 5bf478ac2efecc20aa87483fe699faecee39225f (diff) | |
download | pfsense-d4ff79ed0e8c96507f16925bf27970a66cc3d328.zip pfsense-d4ff79ed0e8c96507f16925bf27970a66cc3d328.tar.gz |
Encode the OpenVPN server description before display on OpenVPN status
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/status_openvpn.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_openvpn.php b/usr/local/www/status_openvpn.php index 492eded..b6aa43c 100644 --- a/usr/local/www/status_openvpn.php +++ b/usr/local/www/status_openvpn.php @@ -147,7 +147,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> @@ -217,7 +217,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> |