reta commented on code in PR #2983:
URL: https://github.com/apache/cxf/pull/2983#discussion_r3033951909
##########
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:
@jungm I still have the same concern
https://github.com/apache/cxf/pull/2983#discussion_r2977675621, I really don't
see what has changed (please correct me if I am wrong). JAX-RS has to be aware
of the URL parts that are being configured either on JAX-RS Application or
JAX-RS resources - this is what its scope is. The server address (which
`matchedResourceTemplate` represents in this case) does include the "external"
that are outside of the JAX-RS scope and should not be part of the matcher
logic.
--
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]