Hi,
We encountered an issue when using Apache CXF with Netty. It seems that URI
encoding of pathes, e.g. containing whitespaces doesn’t work.
We 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);
Can you confirm this issue and the possible solution
Thanks a lot
Best regards
Jochen Wilhelm
Development Architect, Landscape Orchestration
SAP SE Robert-Bosch-Strasse 30/34, 69190 Walldorf, Germany
E: [email protected]<mailto:[email protected]>
T: +49622747723<tel:%20+49622747723>
[cid:[email protected]]
Pflichtangaben/Mandatory Disclosure Statement: www.sap.com/impressum
Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige
vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich
erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung
oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie
uns und vernichten Sie die empfangene E-Mail. Vielen Dank.
This e-mail may contain trade secrets or privileged, undisclosed, or otherwise
confidential information. If you have received this e-mail in error, you are
hereby notified that any review, copying, or distribution of it is strictly
prohibited. Please inform us immediately and destroy the original transmittal.
Thank you for your cooperation.
Public