[
https://issues.apache.org/jira/browse/CXF-8965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andriy Redko updated CXF-8965:
------------------------------
Affects Version/s: 4.0.3
3.6.2
3.5.7
> 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
> Affects Versions: 3.5.7, 3.6.2, 4.0.3
> Reporter: Jochen Wilhelm
> Priority: Major
> Fix For: 3.5.8, 3.6.3, 4.0.4
>
> 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)