summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_unbound_domainoverride_edit.php
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2016-09-02 00:59:52 +0200
committerPiBa-NL <pba_2k3@yahoo.com>2016-09-02 00:59:52 +0200
commit8ea3fd0569ac2b1681de5ba3fbc2a2cc20981ad6 (patch)
treef97e69d0cc3696bc31db52862162ce663f334ca7 /src/usr/local/www/services_unbound_domainoverride_edit.php
parent8d50c07c8bfdd2692a0c7d3ca3489977b528aecc (diff)
downloadpfsense-8ea3fd0569ac2b1681de5ba3fbc2a2cc20981ad6.zip
pfsense-8ea3fd0569ac2b1681de5ba3fbc2a2cc20981ad6.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.
Diffstat (limited to 'src/usr/local/www/services_unbound_domainoverride_edit.php')
-rw-r--r--src/usr/local/www/services_unbound_domainoverride_edit.php2
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 55274d4..ed3c631 100644
--- a/src/usr/local/www/services_unbound_domainoverride_edit.php
+++ b/src/usr/local/www/services_unbound_domainoverride_edit.php
@@ -133,7 +133,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',
OpenPOWER on IntegriCloud