reta commented on code in PR #2983:
URL: https://github.com/apache/cxf/pull/2983#discussion_r3036988474


##########
rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/UriInfoImpl.java:
##########
@@ -246,22 +246,26 @@ public URI resolve(URI uri) {
     @Override
     public String getMatchedResourceTemplate() {
         if (stack != null) {
-            final List<URITemplate> templates = new LinkedList<>();
+            String matchedResourceTemplate = (String) 
message.getExchange().getEndpoint()

Review Comment:
   Thanks a lot for checking @jungm 
   
   > However in these there seems to be a whitespace in the @Path annotations 
that is being lost, probably another issue that is out of scope for now?
   
   So CXF does trim whitespaces upon pattern extraction (seems on purpose), I 
will into it shortly as well, thank you



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to