Bug 982048
Summary: | RFE: Use <better email validator> to conform to RFC2822 | ||
---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Damian Jansen <djansen> |
Component: | WebSite | Assignee: | Michelle Kim <mkim> |
Status: | CLOSED UPSTREAM | QA Contact: | Damian Jansen <djansen> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | development | CC: | sflaniga, zanata-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-31 01:19:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Damian Jansen
2013-07-08 02:07:56 UTC
Along with the above example, the inline email validation fails to recognise many other invalid entities (e.g. email) - though these seem to be picked up afterwards by java mail handling. More importantly, however, is that valid email addresses are being rejected - such as: "email"@domain.com (quoted strings are acceptable) email@[domain.com] (bracketed domains are acceptable) A test should be devised to handle all of the cases from the front-end and the validation upgraded to comply. 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()" Reassigned to PM Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-432 |