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

java.net.URI doesn't recognize IPvFuture hosts

    Details

    • Subcomponent:
    • Resolved In Build:
      b67
    • CPU:
      generic
    • OS:
      generic

      Description

      a valid URI 's://@[v0.:]/path' isn't recognized with message 'Malformed IPv6 address'

      IPvFuture is defined in RFC 3986 at page 19 as

      IPvFuture = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )
      new URI( "s://@[vf0123456789aBcDe..::::a0-._~:!$&'()*+,;=]/path" ) throws exception
      java.net.URISyntaxException: Illegal character in IPvFuture at index 8

        Attachments

          Activity

            People

            • Assignee:
              yuwangsunw Yujiang Wang (Inactive)
              Reporter:
              itseytin Igor Tseytin (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: