You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2006/07/19 16:06:18 UTC
[jira] Resolved: (VALIDATOR-93) GenericValidaor.isEmail bug
[ http://issues.apache.org/jira/browse/VALIDATOR-93?page=all ]
Niall Pemberton resolved VALIDATOR-93.
--------------------------------------
Fix Version/s: 1.1.0 (alpha)
Resolution: Fixed
Re-openned and the set to "Resolved Fixed" again to correct "resolution" which was lost in Bugzilla --> JIRA conversion
> GenericValidaor.isEmail bug
> ----------------------------
>
> Key: VALIDATOR-93
> URL: http://issues.apache.org/jira/browse/VALIDATOR-93
> Project: Commons Validator
> Issue Type: Bug
> Affects Versions: Nightly Builds
> Environment: Operating System: other
> Platform: Other
> Reporter: Scott Clasen
> Fix For: 1.1.0 (alpha)
>
> Attachments: GenericValidator.java
>
>
> isEmail returns true when the domain part ends with a dot
> example
> ticktock@speakeasy.
> returns true.
> Quick n Dirty fix
> GenericValidator
> public static boolean isEmail(String value) {
> boolean bValid = true;
>
> if(value.endsWith(".")){
> return false;
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org