[
https://issues.apache.org/jira/browse/OWB-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg resolved OWB-1367.
--------------------------------
Fix Version/s: 2.0.22
Assignee: Mark Struberg
Resolution: Fixed
Greg, txs for the report!
> 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
> Assignee: Mark Struberg
> Priority: Minor
> Fix For: 2.0.22
>
>
> 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)