Skip to content

Devanagari not handled in domains #842

Description

@arnt

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:

  1. Set the allowutf8 property,
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions