You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In esapi.reference.validation, StringValidationRule.java:
Lines 99-102:
// check length
if (canonical.length() < minLength) {
throw new ValidationException( context + ": Invalid input. The maximum
length of " + maxLength + " characters was exceeded.", "Input exceeds
maximum allowed length of " + maxLength + " by " +
(canonical.length()-maxLength) + " characters: context=" + context + ",
type=" + getTypeName() + "), input=" + input, context );
}
The error message is incorrect. It should say something like: "The minimum
number of characters (" + minLength + ") was not met." What version of the product are you using? On what operating system? Latest SVN of ESAPI.
From cyounk...@gmail.com on July 01, 2009 11:40:31
In esapi.reference.validation, StringValidationRule.java:
Lines 99-102:
// check length
if (canonical.length() < minLength) {
throw new ValidationException( context + ": Invalid input. The maximum
length of " + maxLength + " characters was exceeded.", "Input exceeds
maximum allowed length of " + maxLength + " by " +
(canonical.length()-maxLength) + " characters: context=" + context + ",
type=" + getTypeName() + "), input=" + input, context );
}
The error message is incorrect. It should say something like: "The minimum
number of characters (" + minLength + ") was not met." What version of the product are you using? On what operating system? Latest SVN of ESAPI.
Original issue: http://code.google.com/p/owasp-esapi-java/issues/detail?id=18
The text was updated successfully, but these errors were encountered: