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

Jochen Wilhelm updated CXF-8965:
--------------------------------
    Component/s: Transports
                     (was: Integration)

> Apache CXF Netty Integration, URI not encoded
> ---------------------------------------------
>
>                 Key: CXF-8965
>                 URL: https://issues.apache.org/jira/browse/CXF-8965
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>            Reporter: Jochen Wilhelm
>            Priority: Major
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> There is an issue when using Apache CXF with Netty. It seems that URI 
> encoding of pathes, e.g. containing whitespaces doesn't work.
> The suspect org.apache.cxf.transport.http.netty.client.NettyHttpClientRequest 
> line 57 to be the problem.
> There the request uri is past but with uri.getPath() which decodes the URI, 
> instead using uri.getRawPath() should be used.
>  this.request  =
>      new DefaultFullHttpRequest(HttpVersion.HTTP_1_1,
>                                 HttpMethod.valueOf(method),
>                                 uri.getPath(), content);
>  instead using
>  this.request  =
>  new DefaultFullHttpRequest(HttpVersion.HTTP_1_1,
>                                 HttpMethod.valueOf(method),
>                                 uri.getRawPath(), content);
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to