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 37962] New: - maxlength on textarea in firefox the javascript doesn't match serverside
Date Mon, 19 Dec 2005 18:26:20 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=37962>.
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=37962

           Summary: maxlength on textarea in firefox the javascript doesn't
                    match serverside
           Product: Commons
           Version: 1.4 Final
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Validator
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: apache.9.alanf@antichef.net


When using firefox with a textarea that has a maxlength, if you include carriage
returns in your data entry, the client side javascript will not match the server
side java. On the client side the javascript is only seeing a \n for the
carriage returns while on the server side the java is seeing a \n\r.  So if you
have a max length of 5, 1\n2\n3 will pass the client side, put fail the server
side since there is will be 1\n\r2\n\r3.

-- 
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