You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Nicolas De Loof <ni...@capgemini.com> on 2006/01/25 12:00:33 UTC

[validator] bug in EmailValidator ?

EmailValidator.getInstance().isValid("test@       "  + '\t' + "foo.com") 
returns "true".

I don't think use of blanks between @ and domain is valid for eMails.
Perhaps SPECIAL_CHARS needs to include blanks ?

Nico.


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [validator] bug in EmailValidator ?

Posted by Niall Pemberton <ni...@gmail.com>.
Thanks, this was reported in Bug 38051 and fixed recently

  http://issues.apache.org/bugzilla/show_bug.cgi?id=38051

Niall

On 1/25/06, Nicolas De Loof <ni...@capgemini.com> wrote:
>
> EmailValidator.getInstance().isValid("test@       "  + '\t' + "foo.com")
> returns "true".
>
> I don't think use of blanks between @ and domain is valid for eMails.
> Perhaps SPECIAL_CHARS needs to include blanks ?
>
> Nico.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org