add Email annotation parameter to require top level domain names in addresses
-----------------------------------------------------------------------------
Key: HV-41
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-41
Project: Hibernate Validator
Issue Type: Improvement
Components: validators
Affects Versions: 3.0.0.ga
Reporter: Eric Trautman
Priority: Minor
The Hibernate EmailValidator's DOMAIN regex pattern currently matches values that do
not contain a top level domain (e.g. "foo@bar" is considered valid). Although
this is consistent with the RFC, it is considered invalid in most standard applications.
It would be nice to have an Email annotation parameter and a supporting EmailValidator
implementation that allows developers to declare that a top level domain is required.
This issue was initially raised in the forums:
http://forum.hibernate.org/viewtopic.php?p=2363360
--
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