summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_aliases_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-05-19 13:34:43 -0400
committerjim-p <jimp@pfsense.org>2011-05-19 13:34:43 -0400
commitbac9941b5ea3fb67f7203726d426afdf84576150 (patch)
tree4ffc9d5550a5d16b8f8cea46b37329f9d8b4f5db /usr/local/www/firewall_aliases_edit.php
parentdfa6dedad7a3741cc621669077304f44c2c79467 (diff)
downloadpfsense-bac9941b5ea3fb67f7203726d426afdf84576150.zip
pfsense-bac9941b5ea3fb67f7203726d426afdf84576150.tar.gz
Reject alias names that are too long. Fixes #1510
Diffstat (limited to 'usr/local/www/firewall_aliases_edit.php')
-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 ce730e1..8602740 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -142,7 +142,7 @@ if ($_POST) {
$input_errors[] = gettext("Reserved word used for alias name.");
} else {
if (is_validaliasname($_POST['name']) == false)
- $input_errors[] = gettext("The alias name may only consist of the characters") . " a-z, A-Z, 0-9, _.";
+ $input_errors[] = gettext("The alias name must be less than 32 characters long and may only consist of the characters") . " a-z, A-Z, 0-9, _.";
}
/* check for name conflicts */
if (empty($a_aliases[$id])) {
OpenPOWER on IntegriCloud