diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2016-09-02 00:59:52 +0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-09-02 08:34:46 -0300 |
commit | a7272e31613a7799f0d768708ab3a926a6b2a4da (patch) | |
tree | aaac7127466326133519f41836c40bc6d219bcce /src/usr/local/www/services_unbound_domainoverride_edit.php | |
parent | bfe658f6537de1cf0fe12beefa24dd2c59c3d5bd (diff) | |
download | pfsense-a7272e31613a7799f0d768708ab3a926a6b2a4da.zip pfsense-a7272e31613a7799f0d768708ab3a926a6b2a4da.tar.gz |
Input boxes with setPattern validation should not contain escape characters as they are already properly considered 'lists of characters' even when not escaped.
(cherry picked from commit 8ea3fd0569ac2b1681de5ba3fbc2a2cc20981ad6)
Diffstat (limited to 'src/usr/local/www/services_unbound_domainoverride_edit.php')
-rw-r--r-- | src/usr/local/www/services_unbound_domainoverride_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_unbound_domainoverride_edit.php b/src/usr/local/www/services_unbound_domainoverride_edit.php index 36be9af..76d25e7 100644 --- a/src/usr/local/www/services_unbound_domainoverride_edit.php +++ b/src/usr/local/www/services_unbound_domainoverride_edit.php @@ -165,7 +165,7 @@ $section->addInput(new Form_IpAddress( 'IP Address', $pconfig['ip'] ))->setHelp('IP address of the authoritative DNS server for this domain. e.g.: 192.168.100.100' . '<br />' . - 'To use a non-default port for communication, append an \'@\' with the port number.')->setPattern('[a-zA-Z0-9\@\.\:]+'); + 'To use a non-default port for communication, append an \'@\' with the port number.')->setPattern('[a-zA-Z0-9@.:]+'); $section->addInput(new Form_Input( 'descr', |