summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_settings.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-16 11:10:58 -0400
committerjim-p <jimp@pfsense.org>2015-06-16 11:11:17 -0400
commit5b8c4101b30939c02efc80164da8804ebafcfc51 (patch)
tree99eb5141b0ce190100792222f3c06ba1b838ae00 /usr/local/www/vpn_ipsec_settings.php
parentb18d2108db73e33efd645ddee0e4a13b60347f8b (diff)
downloadpfsense-5b8c4101b30939c02efc80164da8804ebafcfc51.zip
pfsense-5b8c4101b30939c02efc80164da8804ebafcfc51.tar.gz
Encoding in vpn_ipsec_settings.php
Diffstat (limited to 'usr/local/www/vpn_ipsec_settings.php')
-rw-r--r--usr/local/www/vpn_ipsec_settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php
index 6305490..f77135b 100644
--- a/usr/local/www/vpn_ipsec_settings.php
+++ b/usr/local/www/vpn_ipsec_settings.php
@@ -373,7 +373,7 @@ function maxmss_checked(obj) {
<input name="maxmss_enable" type="checkbox" id="maxmss_enable" value="yes" <?php if ($pconfig['maxmss_enable'] == true) echo "checked=\"checked\""; ?> onclick="maxmss_checked(this)" />
<strong><?=gettext("Enable MSS clamping on VPN traffic"); ?></strong>
<br />
- <input name="maxmss" id="maxmss" value="<?php if ($pconfig['maxmss'] <> "") echo $pconfig['maxmss']; else "1400"; ?>" class="formfld unknown" <?php if ($pconfig['maxmss_enable'] == false) echo "disabled=\"disabled\""; ?> />
+ <input name="maxmss" id="maxmss" value="<?php if ($pconfig['maxmss'] <> "") echo htmlspecialchars($pconfig['maxmss']); else "1400"; ?>" class="formfld unknown" <?php if ($pconfig['maxmss_enable'] == false) echo "disabled=\"disabled\""; ?> />
<br />
<?=gettext("Enable MSS clamping on TCP flows over VPN. " .
"This helps overcome problems with PMTUD on IPsec VPN links. If left blank, the default value is 1400 bytes. "); ?>
OpenPOWER on IntegriCloud