commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33409] New: - [validator: email] inexisting dashes and TLD erroneously accepted
Date Sat, 05 Feb 2005 09:28:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33409>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33409

           Summary: [validator: email] inexisting dashes and TLD erroneously
                    accepted
           Product: Commons
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Validator
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org


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
- http://www.iana.org/gtld/gtld.htm and 
- http://www.iana.org/cctld/cctld.htm

similarly, "rh@abc-.-a--b.com" doesn't really appear to exist ever in practice
and still validates.

see also: Bug 29541 and Bug 31644

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message