You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/10/06 21:05:05 UTC

DO NOT REPLY [Bug 23633] New: - validateMinLength and validateMaxLength for password field

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23633>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23633

validateMinLength and validateMaxLength for password field

           Summary: validateMinLength and validateMaxLength for password
                    field
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: jcurlier@ca.ibm.com


Both validator check only text and textarea fields and therefore return a 
password field as having correct max and min length when the validator is used 
on a HTML password field.

                    if (field.type == 'text' ||
                        field.type == 'textarea') {

should maybe be change to


                    if (field.type == 'text' ||
                        field.type == 'password' ||
                        field.type == 'textarea') {

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org