Issue Type: Bug Bug
Affects Versions: 4.3.0.Final
Assignee: Unassigned
Attachments: email-testcase.zip
Components: validators
Created: 30/Aug/12 5:48 AM
Description:

Problem

Currently the email validator treats the complete address as a IDN Label. as a result it will fail fore every address that:

contains a substring longer than 63 characters and doesn't contain dots

For example: "12345678901234567890123456789012345678901234567890123456@example.com" (56 characters local-part; 11 characters domain part)

Possible Solution

split into local-part and domain-part and transform the parts independently.

Side-Note (if there have to be limits to the length of the address)

SMTP defines a set of limits for parts of an address that the validator should be able to handle:
local parts: 64 octets (should translate to 54 chars)
domain part: 255 octets (should translate to 255 chars)

Project: Hibernate Validator
Labels: validation
Priority: Major Major
Reporter: Alexander Bätz
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira