Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
33409
Description
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
similarly, "rh@abc-.a-b.com" doesn't really appear to exist ever in practice
and still validates.