diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-10-11 10:59:20 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-10-11 10:59:20 -0300 |
commit | b4a62651f8bf6e67e812b904f98c90c481a0d4c9 (patch) | |
tree | 624968b3731c4f80aeb60c6bcef16b15d87f58ef /etc/inc/xmlparse.inc | |
parent | 2d72659aec4d153ec6401ccae2a90153e45accc6 (diff) | |
download | pfsense-b4a62651f8bf6e67e812b904f98c90c481a0d4c9.zip pfsense-b4a62651f8bf6e67e812b904f98c90c481a0d4c9.tar.gz |
Allow special chars to be used on IPSec mobile login banner. Fixes #3247
Diffstat (limited to 'etc/inc/xmlparse.inc')
-rw-r--r-- | etc/inc/xmlparse.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/xmlparse.inc b/etc/inc/xmlparse.inc index 4254ec3..43ecfdb 100644 --- a/etc/inc/xmlparse.inc +++ b/etc/inc/xmlparse.inc @@ -234,6 +234,7 @@ function dump_xml_config_sub($arr, $indent) { $xmlconfig .= "<$ent/>\n"; } else if ((substr($ent, 0, 5) == "descr") || (substr($ent, 0, 6) == "detail") + || (substr($ent, 0, 12) == "login_banner") || (substr($ent, 0, 9) == "ldap_attr") || (substr($ent, 0, 9) == "ldap_bind") || (substr($ent, 0, 11) == "ldap_basedn") @@ -264,6 +265,7 @@ function dump_xml_config_sub($arr, $indent) { $xmlconfig .= str_repeat("\t", $indent); if ((substr($ent, 0, 5) == "descr") || (substr($ent, 0, 6) == "detail") + || (substr($ent, 0, 12) == "login_banner") || (substr($ent, 0, 9) == "ldap_attr") || (substr($ent, 0, 9) == "ldap_bind") || (substr($ent, 0, 11) == "ldap_basedn") |