diff options
author | jocuri%softhome.net <> | 2004-12-09 18:15:11 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-12-09 18:15:11 +0100 |
commit | 21440ad5da22a7e3324e316f3654c8a2e1c4ffeb (patch) | |
tree | 9be8c56a61b90fd7a2e73976703d61e8389c5cd4 /editflagtypes.cgi | |
parent | b892bd58a061d5acc09eb291c2e7b3a7f551157f (diff) | |
download | bugzilla-21440ad5da22a7e3324e316f3654c8a2e1c4ffeb.tar.gz bugzilla-21440ad5da22a7e3324e316f3654c8a2e1c4ffeb.tar.xz |
Patch for bug 182375: Do not permit flags with spaces or commas; patch by Frédéric Buclin <LpSolit@netscape.net>, r=vladd, a=justdave.
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-x | editflagtypes.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editflagtypes.cgi b/editflagtypes.cgi index 8b51be326..a48dc7578 100755 --- a/editflagtypes.cgi +++ b/editflagtypes.cgi @@ -444,6 +444,7 @@ sub validateID { sub validateName { $::FORM{'name'} + && $::FORM{'name'} !~ /[ ,]/ && length($::FORM{'name'}) <= 50 || ThrowUserError("flag_type_name_invalid", { name => $::FORM{'name'} }); } |