Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1556

filter not invoked for matching /* path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.22.Final
    • 2.0.21.Final
    • Servlet
    • None

    Description

      With mappings like below, the filter is not invoked for a MyServlet request:

          <servlet-mapping>
              <servlet-name>MyServlet</servlet-name>
              <url-pattern>/MyServlet</url-pattern>
          </servlet-mapping>
      
          <filter-mapping>
              <filter-name>MyFilter</filter-name>
              <url-pattern>/MyServlet/*</url-pattern>
          </filter-mapping>
      

      This worked with EAP 6 and is avoided on EAP 7 if the servlet is mapped the the same /* path

          <servlet-mapping>
              <servlet-name>MyServlet</servlet-name>
              <url-pattern>/MyServlet/*</url-pattern>
          </servlet-mapping>
      
          <filter-mapping>
              <filter-name>MyFilter</filter-name>
              <url-pattern>/MyServlet/*</url-pattern>
          </filter-mapping>
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tmiyargi Teresa Miyar Gil (Inactive)
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: