summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-01-06 21:03:57 +0000
committerNewEraCracker <neweracracker@gmail.com>2016-01-06 21:03:57 +0000
commita55329caeb7f9375ab1ce5be183780543e863050 (patch)
tree01476e4aaa4d88c53c354b71521b27ef392d8c14 /src/usr/local/www/firewall_rules_edit.php
parent311e4ad5ea15f8303205b31a2bc4afc868ee9441 (diff)
downloadpfsense-a55329caeb7f9375ab1ce5be183780543e863050.zip
pfsense-a55329caeb7f9375ab1ce5be183780543e863050.tar.gz
Fix all unterminated character class for pattern
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 4c64853..3918866 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1291,7 +1291,7 @@ foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) {
$type,
$name .' Address',
$pconfig[$type]
- ))->addMask($type .'mask', $pconfig[$type.'mask'])->setPattern('[0-9, a-z, A-Z and .');
+ ))->addMask($type .'mask', $pconfig[$type.'mask'])->setPattern('[a-zA-Z0-9\_\.\:]+');
$section->add($group);
OpenPOWER on IntegriCloud