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

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

XMLWordPrintable

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

      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"

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

              Created:
              Updated:
              Resolved: