summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-05-02 12:42:12 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-05-02 12:42:12 +0000
commitd87fc50b37aec1b27081ef482ae3aadb93ae71e3 (patch)
treebaaf176fb3ec029115108d87019f319eb1b4ba60 /usr/local
parente1f1691f3f8184b39bf8f699ed7a2427311bff1b (diff)
downloadpfsense-d87fc50b37aec1b27081ef482ae3aadb93ae71e3.zip
pfsense-d87fc50b37aec1b27081ef482ae3aadb93ae71e3.tar.gz
Do not allow - in aliases. This breaks port aliases.
tables are fine with the - and the _. Ports only work with _.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index 7db0390..a83d0f8 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -109,7 +109,7 @@ if ($_POST) {
$input_errors[] = "Reserved word used for alias name.";
} else {
if (is_validaliasname($_POST['name']) == false)
- $input_errors[] = "The alias name may only consist of the characters a-z, A-Z, 0-9, -, _.";
+ $input_errors[] = "The alias name may only consist of the characters a-z, A-Z, 0-9, _.";
}
if ($_POST['type'] == "host")
if (!is_ipaddr($_POST['address'])) {
OpenPOWER on IntegriCloud