Describe the bug
InternetAddress rejects addresses that contain an Indic domain (unless every vowel happens to be an a).
To Reproduce
Steps to reproduce the behavior:
- Set the allowutf8 property,
- Parse
"संपर्क@डाटामेल.भारत" as an InternetAddress.
Expected behavior
The domain is valid (both in IDNA2003 and -2008), so I expect parsing to finish without an exception.
Desktop (please complete the following information):
- OS: Linux, with JDK 11 and 21.
Additional context
This was discovered while adding units test for James, forwarded to me, and I traced the problem here. #833 was developed in response to the James problem; this issue exists only so that its number can be mentioned in #833.
Describe the bug
InternetAddress rejects addresses that contain an Indic domain (unless every vowel happens to be an a).
To Reproduce
Steps to reproduce the behavior:
"संपर्क@डाटामेल.भारत"as an InternetAddress.Expected behavior
The domain is valid (both in IDNA2003 and -2008), so I expect parsing to finish without an exception.
Desktop (please complete the following information):
Additional context
This was discovered while adding units test for James, forwarded to me, and I traced the problem here. #833 was developed in response to the James problem; this issue exists only so that its number can be mentioned in #833.