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

WicketServlet fallback() code should ignore query string params when resolving resources.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4-RC2
    • 1.4-RC3
    • wicket
    • None

    Description

      When in servlet mode, after the request hasn't been serviced by the wicket flter, the WicketServlet's fallback(HttpServletRequest, HttpServletResponse) would try to open stream to resource from the servlet context. If the url isn't trimmed of the query string beforehand, the resource lookup will fail resulting in 404. It is common to pass parameters to static js this way. A suggested patch to follow shortly.

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            drzewo Dominik Drzewiecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: