summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-16 11:05:47 -0400
committerjim-p <jimp@pfsense.org>2015-06-16 11:05:47 -0400
commit5ef9708e4d1accdf1b1db7c6c2c8541178368f60 (patch)
treeb0185d522aae93fe975797156d9eb15977284fe4
parentd213c48520c6d694e660b208340e4e632e153585 (diff)
downloadpfsense-5ef9708e4d1accdf1b1db7c6c2c8541178368f60.zip
pfsense-5ef9708e4d1accdf1b1db7c6c2c8541178368f60.tar.gz
More encoding
-rw-r--r--usr/local/www/load_balancer_pool_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php
index 3ae63dc..d397ad8 100644
--- a/usr/local/www/load_balancer_pool_edit.php
+++ b/usr/local/www/load_balancer_pool_edit.php
@@ -225,7 +225,7 @@ function clearcombo(){
<tr align="left">
<td width="22%" valign="top" id="monitorport_text" class="vncellreq"><?=gettext("Port"); ?></td>
<td width="78%" class="vtable" colspan="2">
- <input class="formfldalias" id="port" name="port" type="text" <?if(isset($pconfig['port'])) echo "value=\"{$pconfig['port']}\"";?> size="16" maxlength="16" /><br />
+ <input class="formfldalias" id="port" name="port" type="text" <?if(isset($pconfig['port'])) echo "value=\"" . htmlspecialchars($pconfig['port']) . "\"";?> size="16" maxlength="16" /><br />
<div id="monitorport_desc">
<?=gettext("This is the port your servers are listening on."); ?><br />
<?=gettext("You may also specify a port alias listed in Firewall -&gt; Aliases here."); ?>
@@ -241,7 +241,7 @@ function clearcombo(){
<tr align="left">
<td width="22%" valign="top" id="retry_text" class="vncell"><?=gettext("Retry"); ?></td>
<td width="78%" class="vtable" colspan="2">
- <input name="retry" type="text" <?if(isset($pconfig['retry'])) echo "value=\"{$pconfig['retry']}\"";?> size="16" maxlength="16" /><br />
+ <input name="retry" type="text" <?if(isset($pconfig['retry'])) echo "value=\"" . htmlspecialchars($pconfig['retry']) . "\"";?> size="16" maxlength="16" /><br />
<div id="retry_desc"><?=gettext("Optionally specify how many times to retry checking a server before declaring it down."); ?></div>
</td>
</tr>
OpenPOWER on IntegriCloud