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

URI::resolve broken if the base URI has an empty path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • tbd
    • None
    • core-libs
    • None

    Description

      URI.create("s://:").resolve("a/b/c").toString() yields "s://:a/b/c"
      URI.create("s://h:").resolve("a/b/c").toString() yields "s://ha/b/c"
      URI.create("s://h:80").resolve("a/b/c").toString() yields "s://h:80a/b/c"

      Attachments

        Issue Links

          Activity

            People

              dfuchs Daniel Fuchs
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: