EmailValidator throws an IllegalArgumentException for long email addresses

Description

When I attempt to validate the email address below the IDN.toASCII call throws an exception because it's using the entire email address and not just the domain, eg aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@hibernate.org

In EmailValidator.java:

A test:

Environment

None

Activity

Show:
Gunnar Morling
May 23, 2012, 10:01 PM

Applied pull request

Assignee

Unassigned

Reporter

Marco Ramirez

Labels

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Major
Configure