diff options
author | mkanat%kerio.com <> | 2005-03-07 21:55:33 +0000 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-03-07 21:55:33 +0000 |
commit | 5f042e841a435995e62f0cc8e8c4e9bd9f2c9c15 (patch) | |
tree | 38a093e9be57478dd7c4be58d53101de0c69484a /CGI.pl | |
parent | 494f0e59486cbabfd02aa9a8f410f4e00861f62b (diff) | |
download | bugs-5f042e841a435995e62f0cc8e8c4e9bd9f2c9c15.tar bugs-5f042e841a435995e62f0cc8e8c4e9bd9f2c9c15.tar.gz bugs-5f042e841a435995e62f0cc8e8c4e9bd9f2c9c15.tar.bz2 bugs-5f042e841a435995e62f0cc8e8c4e9bd9f2c9c15.tar.xz bugs-5f042e841a435995e62f0cc8e8c4e9bd9f2c9c15.zip |
Bug 283924: Move ValidateComment out of CGI.pl
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=LpSolit, a=justdave
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -188,16 +188,6 @@ sub ValidateBugID { } } -sub ValidateComment { - # Make sure a comment is not too large (greater than 64K). - - my ($comment) = @_; - - if (defined($comment) && length($comment) > 65535) { - ThrowUserError("comment_too_long"); - } -} - sub PasswordForLogin { my ($login) = (@_); SendSQL("select cryptpassword from profiles where login_name = " . |