You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Marcin Kubala (JIRA)" <ji...@apache.org> on 2012/05/11 00:42:47 UTC

[jira] [Updated] (WICKET-4552) WicketFilter.processRequest() should check that given FilterChain is not null

     [ https://issues.apache.org/jira/browse/WICKET-4552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcin Kubala updated WICKET-4552:
----------------------------------

    Description: 
Currently I can't use ignorePaths init param with WicketServlet (but using WicketFilter works fine).

WicketServlet.goGet() and WicketServlet.doPost() call WicketFilter.processRequest(ServletRequest, ServletResponse, FilterChain) without passing FilterChain object, so WicketFilter.processRequest(..) throws NullPointerException.

We should omit chain.doFilter(..) if given FilterChain is null.

  was:
Currently I can't use ignorePaths init param with WicketServlet (but can wich WicketFilter).

WicketServlet.goGet() and WicketServlet.doPost() call WicketFilter.processRequest(ServletRequest, ServletResponse, FilterChain) without passing FilterChain object, so WicketFilter.processRequest(..) throws NullPointerException.

We should omit chain.doFilter(..) if given FilterChain is null.

        Summary: WicketFilter.processRequest() should check that given FilterChain is not null  (was: WicketFilter.processRequest() should check that given chain is null)
    
> WicketFilter.processRequest() should check that given FilterChain is not null
> -----------------------------------------------------------------------------
>
>                 Key: WICKET-4552
>                 URL: https://issues.apache.org/jira/browse/WICKET-4552
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.6
>            Reporter: Marcin Kubala
>            Priority: Trivial
>         Attachments: WICKET-4552-1.patch
>
>
> Currently I can't use ignorePaths init param with WicketServlet (but using WicketFilter works fine).
> WicketServlet.goGet() and WicketServlet.doPost() call WicketFilter.processRequest(ServletRequest, ServletResponse, FilterChain) without passing FilterChain object, so WicketFilter.processRequest(..) throws NullPointerException.
> We should omit chain.doFilter(..) if given FilterChain is null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira