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

WicketFilter.processRequest() should check that given FilterChain is not null

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.5.6
    • 1.5.7, 6.0.0-beta2
    • wicket
    • None

    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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgrigorov Martin Tzvetanov Grigorov
            mkubala Marcin Kubala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment