Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4959892

java.net.URI class doesn't support non-ascii hostnames

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The current java.net.URI conforms to RFC 2396, which requires that the hostname part of the URI is ASCII. Thus it doesn't support internationalized domain names. There is attempt to amend RFC 2396 to allow escaped encoded non-ascii domain names. See http://www.ietf.org/proceedings/03mar/I-D/draft-ietf-idn-uri-03.txt for nternationalized Domain Names in URIs. We should revisit this in the next release to see whether it's approporiate to support it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michaelm Michael McMahon
              Reporter:
              ywangsunw Yingxian Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: