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
Gabriel Belingueres made changes - 11/Jun/06 02:55 AM
Field Original Value New Value
Attachment EmailTest-diff.txt [ 12335307 ]
Attachment EmailValidator-diff.txt [ 12335306 ]
Niall Pemberton made changes - 19/Jul/06 01:24 PM
Component/s Routines [ 12311270 ]
Niall Pemberton made changes - 23/Nov/06 01:15 PM
Assignee Niall Pemberton [ niallp ]
Fix Version/s 1.3.1 [ 12311934 ]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Henri Yandell made changes - 12/Nov/07 07:25 PM
Status Resolved [ 5 ] Closed [ 6 ]