Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8283

JAXRSClientFactory fails to build valid path when hostname contains a underscore

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.3.6
    • Fix Version/s: None
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Client created with JAXRSClientFactory fails to build the full path of the requested resource when hostname contains an underscore.

      The issue can reproduced with this repository: https://github.com/Toilal/cxf-jaxrs-invalid-path

      Run the Main class and check the REQ_OUT logs, first one is with hostname "nounderscore" which should the expected Address, but second one is with hostname "with_underscore" and the resource path is missing.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              toilal Rémi Alvergnat
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: