Does any one know why it isn't just using the proper regular expression ?

Tom

On 22/07/14 12:19, Justin Mclean wrote:
> Hi,
>
>> mx.validators.EmailValidator does not accept ".email" domain
> Want to raise a JIRA? Looks like lines 220-223 cause the issue.
>
> if (lastDomain.length != 3 &&
>       lastDomain.length != 2 &&
>       lastDomain.length != 4 &&
>       lastDomain.length != 6)
> {
>       results.push(new ValidationResult(
>               true, baseField, "invalidDomain",
>               validator.invalidDomainError));
>       return results;
> }
>
> With new domains like .photography, .international and .email this is not 
> going to work.
>
> Thanks,
> Justin
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>

Reply via email to