Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.3.0 Release
-
None
Description
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)); }}