Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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 "/*"