You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martijn Dashorst (JIRA)" <ji...@apache.org> on 2015/09/11 18:37:45 UTC

[jira] [Created] (WICKET-5980) When using Servlet 3.0 filter Wicket calculates filter path wrong

Martijn Dashorst created WICKET-5980:
----------------------------------------

             Summary: When using Servlet 3.0 filter Wicket calculates filter path wrong
                 Key: WICKET-5980
                 URL: https://issues.apache.org/jira/browse/WICKET-5980
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 7.0.0
            Reporter: Martijn Dashorst
            Priority: Minor
             Fix For: 7.1.0


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.

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

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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)