[hibernate-issues] [Hibernate-JIRA] Commented: (HV-364) @Email does not fail if tilda (~) or forward slash (/) are in the domain

Hardy Ferentschik (JIRA) noreply at atlassian.com
Fri Sep 10 09:53:18 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38353#action_38353 ] 

Hardy Ferentschik commented on HV-364:
--------------------------------------

How would you define most useful? You could always write your own email validator using for example constraint composition where you build on the existing validator and add additional constraints "useful" for your case.

> @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@~mydomain.com
> test at 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list