[ 
https://issues.apache.org/jira/browse/CXF-6854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15218006#comment-15218006
 ] 

Sergey Beryozkin commented on CXF-6854:
---------------------------------------

This needs to be reverted, see 
https://jax-rs-spec.java.net/nonav/2.0-rev-a/apidocs/javax/ws/rs/Path.html#value():

"Matching of request URIs to URI templates is performed against encoded path 
values"

What this means is that the container/runtime must not decode the path, and 
your change breaks that.
Somewhere either in the Undertow or in your CXF wrapper code you are decoding 
too early.
I'm adding a test showing that a percent encoded value in ApplicationPath is 
not a problem without your change.

Once again, lets review/discuss sensitive changes first

> Application subclass can't be injected into an application lass field
> ---------------------------------------------------------------------
>
>                 Key: CXF-6854
>                 URL: https://issues.apache.org/jira/browse/CXF-6854
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.6, 3.0.9
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: 3.0.10, 3.1.7, 3.2.0
>
>         Attachments: injectionUtil.diff
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to