[
https://issues.apache.org/jira/browse/CXF-6853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15220048#comment-15220048
]
Sergey Beryozkin commented on CXF-6853:
---------------------------------------
But this becomes part of the path which is matched against @Paths, and this is
what is not supposed to happen, as far as I understand if you'd like to start
decoding it. It must become a servlet pattern, applicationPath + "/*", see what
I mean. So you load the application and then I believe you create some servlet,
so it is that servlet that needs to have this application path
> Support encoded value in @ApplicationPath
> -----------------------------------------
>
> Key: CXF-6853
> URL: https://issues.apache.org/jira/browse/CXF-6853
> Project: CXF
> Issue Type: Task
> Components: JAX-RS
> Affects Versions: 3.1.6, 3.0.9
> Reporter: Jim Ma
> Assignee: Sergey Beryozkin
> Fix For: 3.0.10, 3.1.7, 3.2.0
>
>
> If @ApplicationPath value is an encoded value, if client send request to
> http://localhost:8080/Application!/myresource and get 404 .
> @ApplicationPath("ApplicationPath%21")
> public class MyApp extends Application {
> public java.util.Set<java.lang.Class<?>> getClasses() {
> Set<Class<?>> resources = new HashSet<Class<?>>();
> resources.add(MyResource.class);
> return resources;
> }
> }
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)