Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5980

When using Servlet 3.0 filter Wicket calculates filter path wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.0.0
    • 7.1.0
    • wicket
    • None

    Description

      When using a servlet 3.0 filter with annotations Wicket calculates the filter path wrong causing it to not match any pages other than the home page.

      e.g.

      @WebFilter(value = "/web/*", initParams = {@WebInitParam(name = "applicationClassName", value = "com.example.CheesrApplication")})
      public class CheesrFilter extends WicketFilter {
      }
      

      Will cause Wicket to create a filter path of /web/*/ instead of the expected /web.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dashorst Martijn Dashorst
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: