diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-03-28 22:13:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-03-28 22:13:40 +0000 |
commit | d4aab1ebc150879526c4b3abb2fa3754f071094f (patch) | |
tree | 28ebbdce9b55e991ffc7c29f954091816d8036ff | |
parent | 8cb370b9b6b53c7942466026c53c82e0cb957bb3 (diff) | |
download | pfsense-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()
-rw-r--r-- | usr/local/www/firewall_schedule_edit.php | 2 |
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']) |