Affects Version/s: None
Fix Version/s: None
Operating System: All
The org.apache.commons.validator.EmailValidator javadoc even says that the
erroneous TLD "d-" is accepted.
Why don't you rule them out?
3 out of 4 test values org.apache.commons.validator.EmailTest.testEmailWithDash()
seem to be similarly far from reality w.r.t. their TLDs.
Shouldn't this code attempt to comply with
a-b.com" doesn't really appear to exist ever in practice
and still validates.