Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 48211 invoked from network); 17 Jun 2008 11:36:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jun 2008 11:36:15 -0000 Received: (qmail 13856 invoked by uid 500); 17 Jun 2008 11:36:16 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 13581 invoked by uid 500); 17 Jun 2008 11:36:16 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 13570 invoked by uid 99); 17 Jun 2008 11:36:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 04:36:16 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 11:35:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2306C234C145 for ; Tue, 17 Jun 2008 04:35:45 -0700 (PDT) Message-ID: <1373921534.1213702545142.JavaMail.jira@brutus> Date: Tue, 17 Jun 2008 04:35:45 -0700 (PDT) From: "Chris Wareham (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (VALIDATOR-267) Email Validator doesn't cope with domain comments, valid user@tld addresses and folding whitespace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Email Validator doesn't cope with domain comments, valid user@tld addresses and folding whitespace -------------------------------------------------------------------------------------------------- Key: VALIDATOR-267 URL: https://issues.apache.org/jira/browse/VALIDATOR-267 Project: Commons Validator Issue Type: Bug Reporter: Chris Wareham The class org.apache.commons.validator.routines.EmailValidator rejects certain valid email address constructs. According to RFC2822, domain names are allowed to have comments in parentheses, addresses of the form user@tld are legal (albeit rare) and folding whitespace is allowed. Examples are as follows: user@(a domain comment)foo.com" user@com Test \ Folding \ Whitespace@foo.com -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.