You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Rémi Alvergnat (Jira)" <ji...@apache.org> on 2020/05/14 09:53:00 UTC

[jira] [Updated] (CXF-8283) JAXRSClientFactory fails to build valid path when hostname contains a underscore

     [ https://issues.apache.org/jira/browse/CXF-8283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rémi Alvergnat updated CXF-8283:
--------------------------------
    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.

  was:
When hostname contains an underscore, client created with JAXRSClientFactory fails to build the full path of the requested resource.

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.


> JAXRSClientFactory fails to build valid path when hostname contains a underscore
> --------------------------------------------------------------------------------
>
>                 Key: CXF-8283
>                 URL: https://issues.apache.org/jira/browse/CXF-8283
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.3.6
>            Reporter: Rémi Alvergnat
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)