[
http://opensource.atlassian.com/projects/hibernate/browse/HV-364?page=com...
]
Hardy Ferentschik commented on HV-364:
--------------------------------------
According to the [rfc
2822|http://www.faqs.org/rfcs/rfc2822.html] these are valid email
addresses. Or at least '~' and '/' are valid characters. The problem is
that many systems implemented a simpler (and in this case non con-formant) email parser.
Implementing a email validator is always a trade off. See also this
[article|http://www.regular-expressions.info/email.html].
@Email does not fail if tilda (~) or forward slash (/) are in the
domain
------------------------------------------------------------------------
Key: HV-364
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-364
Project: Hibernate Validator
Issue Type: Bug
Components: validators
Affects Versions: 4.1.0.Final
Environment: 4.1.0
Reporter: Anthony Gerrard
Assignee: Hardy Ferentschik
The following email addresses do not result in constraint validations. I believe they
should
test(a)~mydomain.com
test@mydomain/com
Looking at the mail specification it does seem to allow these email addresses but
they're not compatible with javax.mail.internet.InternetAddress or indeed most email
servers.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira