[ http://issues.apache.org/jira/browse/VALIDATOR-190?page=all ]
Niall Pemberton updated VALIDATOR-190: -------------------------------------- Component/s: Routines > EmailValidator allows control characters (ASCII 0-31) > ----------------------------------------------------- > > Key: VALIDATOR-190 > URL: http://issues.apache.org/jira/browse/VALIDATOR-190 > Project: Commons Validator > Issue Type: Bug > Components: Routines > Affects Versions: 1.3.0 Release > Reporter: Cott > Priority: Minor > Attachments: EmailTest-diff.txt, EmailValidator-diff.txt > > > EmailValidator allows ASCII 0 - 31 in an email address. > According to RFC 821, these are forbidden. > import org.apache.commons.validator.EmailValidator; > public class Test { > public static void main(String[] args) { > EmailValidator ev = EmailValidator.getInstance(); > String email ="[EMAIL PROTECTED]"; > System.err.println(ev.isValid(email)); > } > } -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]