Greg Wilkins created OWB-1367:
---------------------------------

             Summary: Bad filter url-pattern in demos
                 Key: OWB-1367
                 URL: https://issues.apache.org/jira/browse/OWB-1367
             Project: OpenWebBeans
          Issue Type: Improvement
          Components: Samples & Documentation
            Reporter: Greg Wilkins


There is a <url-pattern>*</url-pattern> in:
 * 
[https://github.com/apache/openwebbeans/blob/master/webbeans-tomcat7/src/main/resources/META-INF/web-fragment.xml#L33]
 * 
[https://github.com/apache/openwebbeans/blob/master/webbeans-jetty9/src/main/resources/META-INF/web-fragment.xml#L33]

The pattern '*' is not a legal url-pattern by 
[https://jakarta.ee/specifications/servlet/5.0/jakarta-servlet-spec-5.0.html#specification-of-mappings]

Current jetty releases incorrectly accept '*' as a mapping, treating it like a 
suffix mapping with an empty suffix.   I assume that tomcat must also accept it.

Future versions of jetty will not accept it and the next version of jetty will 
accept it only with a warning.

It should be "/*"

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to