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=16198>.
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=16198

isEmail accepts Umlauts and other non-ASCII characters

           Summary: isEmail accepts Umlauts and other non-ASCII characters
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


According to the RFC specification, an atom of an email address is any ASCII character 
from 0 to 
127. The isEmail method accepts any Unicode character (0-65535), resulting in emails 
with 
Umlauts being accepted.

isEmail("Kö[EMAIL PROTECTED]") returns true. It should 
not.

The regular expressions should be changed to except only ASCII 0-127 atoms.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to