Issue Details (XML | Word | Printable)

Key: VALIDATOR-190
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Niall Pemberton
Reporter: Cott Lang
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Commons Validator

EmailValidator allows control characters (ASCII 0-31)

Created: 01/Jun/06 11:48 PM   Updated: 12/Nov/07 07:25 PM
Return to search
Component/s: Routines
Affects Version/s: 1.3.0 Release
Fix Version/s: 1.3.1 Release

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works EmailTest-diff.txt 2006-06-11 02:55 AM Gabriel Belingueres 7 kB
Text File Licensed for inclusion in ASF works EmailValidator-diff.txt 2006-06-11 02:55 AM Gabriel Belingueres 2 kB

Resolution Date: 23/Nov/06 01:15 PM


 Description  « Hide
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 ="\000nobody@nowhere.com"; System.err.println(ev.isValid(email)); }

}



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.