Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1734

UriBuilder is not working with IPv6 link local addresses

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0.0.Beta1
    • Component/s: jaxrs
    • Labels:
      None

      Description

      UriBuilder is not working with IPv6 link local addresses
      Details about link local addresses: https://en.wikipedia.org/wiki/IPv6_address#Link-local_addresses_and_zone_indices

      This bug is followup to RESTEASY-1718 work.

      Commented-out check for link-local address is here: https://github.com/rsvoboda/Resteasy/commit/dbdd56b699b951a19defe7a5c04aaa3f6c5dc960#diff-1437cae1c96c188bce56dbecd344a21aR1086
      Feel free to cherry pick that commit and use it in the fix PR

      Assert.assertEquals("http://fe80::7:8%eth0", UriBuilder.fromUri("http://fe80::7:8%eth0").build().toString());
      Assert.assertEquals("http://fe80::7:8%1", UriBuilder.fromUri("http://fe80::7:8%1").build().toString());
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rsearls R Searls
                  Reporter:
                  rsvoboda Rostislav Svoboda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: