flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Chiverton ...@extravision.com>
Subject Re: EmailValidator sdk 4.13
Date Tue, 22 Jul 2014 11:33:23 GMT
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
> ______________________________________________________________________
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message