You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/01/17 11:30:30 UTC
DO NOT REPLY [Bug 16198] New: -
isEmail accepts Umlauts and other non-ASCII characters
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: commons-dev@jakarta.apache.org
ReportedBy: thomas.jacob@sinnerschrader.com
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�nig@domain.com") returns true. It should
not.
The regular expressions should be changed to except only ASCII 0-127 atoms.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>