summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/load_balancer_pool.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-09-08 15:47:55 -0400
committerjim-p <jimp@pfsense.org>2015-09-08 15:47:55 -0400
commit0f032d7ec320609ac7c89cfb67ea2759b420af11 (patch)
tree486df9fba6d40f170fe1bcc3a90b8a57de78d764 /src/usr/local/www/load_balancer_pool.php
parent67146d7e7c5fb58339ac24ac29cb9f3791ca0a10 (diff)
downloadpfsense-0f032d7ec320609ac7c89cfb67ea2759b420af11.zip
pfsense-0f032d7ec320609ac7c89cfb67ea2759b420af11.tar.gz
Misc encoding/display issues in the Load Balancer code
Diffstat (limited to 'src/usr/local/www/load_balancer_pool.php')
-rw-r--r--src/usr/local/www/load_balancer_pool.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/load_balancer_pool.php b/src/usr/local/www/load_balancer_pool.php
index dbdbb1c..6dc647e 100644
--- a/src/usr/local/www/load_balancer_pool.php
+++ b/src/usr/local/www/load_balancer_pool.php
@@ -147,7 +147,7 @@ foreach($a_pool as $pool) {
<?=$pool['name']?>
</td>
<td>
- <?=$pool['mode']?>
+ <?=htmlspecialchars($pool['mode'])?>
</td>
<td>
<?php
@@ -167,7 +167,7 @@ foreach($a_pool as $pool) {
<?=$pool['monitor']?>
</td>
<td>
- <?=$pool['descr']?>
+ <?=htmlspecialchars($pool['descr'])?>
</td>
<td>
<a href="load_balancer_pool_edit.php?id=<?=$idx?>" class="btn btn-xs btn-info"><?=gettext('Edit')?></a>
OpenPOWER on IntegriCloud