Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1367

Bad filter url-pattern in demos

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.22
    • None

    Description

      There is a <url-pattern>*</url-pattern> in:

      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 "/*"

       

       

       

       

      Attachments

        Activity

          People

            struberg Mark Struberg
            gregw@webtide.com Greg Wilkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: