summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_schedule_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-28 22:13:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-28 22:13:40 +0000
commitd4aab1ebc150879526c4b3abb2fa3754f071094f (patch)
tree28ebbdce9b55e991ffc7c29f954091816d8036ff /usr/local/www/firewall_schedule_edit.php
parent8cb370b9b6b53c7942466026c53c82e0cb957bb3 (diff)
downloadpfsense-d4aab1ebc150879526c4b3abb2fa3754f071094f.zip
pfsense-d4aab1ebc150879526c4b3abb2fa3754f071094f.tar.gz
is_validaliasname() will not allow _, remove that from the allowed description. If we want to allow _ then a new function will have to be created in place of is_validaliasname()
Diffstat (limited to 'usr/local/www/firewall_schedule_edit.php')
-rw-r--r--usr/local/www/firewall_schedule_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_schedule_edit.php b/usr/local/www/firewall_schedule_edit.php
index 91fabd0..36dff5e 100644
--- a/usr/local/www/firewall_schedule_edit.php
+++ b/usr/local/www/firewall_schedule_edit.php
@@ -74,7 +74,7 @@ if ($_POST) {
$input_errors[] = "Reserved word used for schedule name.";
} else {
if (is_validaliasname($_POST['name']) == false)
- $input_errors[] = "The schedule name may only consist of the characters a-z, A-Z, 0-9, -, _.";
+ $input_errors[] = "The schedule name may only consist of the characters a-z, A-Z, 0-9, -";
}
if (!$_POST['schedule0'])
OpenPOWER on IntegriCloud