diff options
author | lpsolit%gmail.com <> | 2008-01-13 00:20:50 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-01-13 00:20:50 +0100 |
commit | 0e2ea68e886628033f9afeba99f90144b4f85510 (patch) | |
tree | bdb26475965046e8680130ad0daf42d1d315416a /Bugzilla/Constants.pm | |
parent | a404e6c3e3d777f09ef2ab8100ad01a20a3c885c (diff) | |
download | bugzilla-0e2ea68e886628033f9afeba99f90144b4f85510.tar.gz bugzilla-0e2ea68e886628033f9afeba99f90144b4f85510.tar.xz |
Bug 411437: Clipping of "Free Text" fields when user enters more then 255 characters - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 3c02c3902..ee064bb85 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -149,6 +149,7 @@ use File::Basename; MAX_LEN_QUERY_NAME MAX_MILESTONE_SIZE MAX_COMPONENT_SIZE + MAX_FREETEXT_LENGTH ); @Bugzilla::Constants::EXPORT_OK = qw(contenttypes); @@ -423,6 +424,9 @@ use constant MAX_MILESTONE_SIZE => 20; # The longest component name allowed. use constant MAX_COMPONENT_SIZE => 64; +# Maximum length allowed for free text fields. +use constant MAX_FREETEXT_LENGTH => 255; + sub bz_locations { # We know that Bugzilla/Constants.pm must be in %INC at this point. # So the only question is, what's the name of the directory |