[zanata-bugs] [Bug 982048] Email validation wholeheartedly violates RFC2822

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 8 05:06:06 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=982048

Sean Flanigan <sflaniga at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sflaniga at redhat.com

--- Comment #2 from Sean Flanigan <sflaniga at redhat.com> ---
As mentioned in the Hibernate EmailValidator docs, it may not be worth trying
to catch everything:
http://docs.jboss.org/hibernate/validator/4.3/api/org/hibernate/validator/internal/constraintvalidators/EmailValidator.html

It is better to let an invalid address through to the mail system, than to
disallow a user's valid address.

However, to handle the edge cases better, we could replace or augment Hibernate
EmailValidator with an implementation which calls JavaMail's "new
InternetAddress(email).validate()"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=DvagTtFWIf&a=cc_unsubscribe




More information about the zanata-bugs mailing list