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:42 -0300 |
commit | babc58d30843cb388559178b60aecd7a9a64bcca (patch) | |
tree | 42b184ce6e71ffe50e44ae58ee9b64dde2724b4c /etc | |
parent | a518b337a94bc1b5415599899d7ad01bb6a1d666 (diff) | |
download | pfsense-babc58d30843cb388559178b60aecd7a9a64bcca.zip pfsense-babc58d30843cb388559178b60aecd7a9a64bcca.tar.gz |
Allow special chars to be used on IPSec mobile login banner. Fixes #3247
Diffstat (limited to 'etc')
-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") |