reta commented on a change in pull request #703:
URL: https://github.com/apache/cxf/pull/703#discussion_r500639994
##########
File path:
rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/ContainerRequestContextImpl.java
##########
@@ -123,8 +123,9 @@ public void setRequestUri(URI requestUri) throws
IllegalStateException {
protected void doSetRequestUri(URI requestUri) throws
IllegalStateException {
checkNotPreMatch();
- // The JAX-RS TCK requires the full uri toString() rather than just
the raw path:
- HttpUtils.resetRequestURI(m, requestUri.toString());
+ // TODO: The JAX-RS TCK requires the full uri toString() rather than
just the raw path, but
+ // changing to toString() seems to have adverse effects downstream.
Needs more investigation.
+ HttpUtils.resetRequestURI(m, requestUri.getRawPath());
Review comment:
👍
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]