commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (VALIDATOR-93) GenericValidaor.isEmail bug
Date Wed, 19 Jul 2006 13:31:27 GMT
     [ http://issues.apache.org/jira/browse/VALIDATOR-93?page=all ]

Niall Pemberton reopened VALIDATOR-93:
--------------------------------------

             

> 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
>         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


Mime
View raw message