commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38896] New: - minlength alert is broken and js function produces warnings under ff1.5
Date Wed, 08 Mar 2006 18:00:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38896>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38896

           Summary: minlength alert is broken and js function produces
                    warnings under ff1.5
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Validator
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: xavan18@hotmail.com


I use the following rule (It can give information to the hackers people).
<field property="password" depends="required,minlength">
                <arg key="user.password"/>
                <var>
    				<var-name>minlength</var-name>
    				<var-value>6</var-value>
   				</var>
            </field>
This configuration produces the following alert :
Password can not be less than {1} characters. 

-->Thus is does not replace the {1} by 6.

I receive also a warning in the javascript console of firefox :
Avertissement : reference to undefined property this[varName]

for these two lines :
this.a0 = new Array("password", "Password can not be less than {1} characters.",
new Function ("varName", "this.minlength='6';  return this[varName];"));
     this.a1 = new Array("passwordbis", "Password confirmation can not be less
than {1} characters.", new Function ("varName", "this.test='(*this*==password)';
this.minlength='6';  return this[varName];"));

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message