Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.5.7, 3.6.2, 4.0.3
-
None
-
Novice
Description
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);
Attachments
Issue Links
- links to