jodd-mail icon indicating copy to clipboard operation
jodd-mail copied to clipboard

Doesn't allow long TLDs

Open oddcb opened this issue 1 year ago • 1 comments

Hi. We experienced errors when using the RFC2822AddressParser with an emailadress that has .digital as its TLD.

In RFC_1035_DOMAIN_NAME only 6 characters are allowed. The currently longest TLD (in punycode) has 24 characters, XN--VERMGENSBERATUNG-PWB / vermögensberatung see: https://data.iana.org/TLD/tlds-alpha-by-domain.txt

oddcb avatar Oct 16 '24 10:10 oddcb

For the reference: https://datatracker.ietf.org/doc/html/rfc5322 obsoletes 2822

igr avatar Oct 19 '24 06:10 igr