Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1999

The classes in the http.base bundle do not properly handle ServletRequest.getPathInfo() == null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • http-2.0.4
    • http-2.2.0
    • HTTP Service
    • None

    Description

      ServletRequest.getPathInfo() is allowed to return null (if there is no additional path information).

      For example, IBM WebSphere returns null if the client accesses the Servlet context without a trailing slash (Jetty in this case redirects to the context path with a trailing slash and thus this case does not happen).

      To prevent NullPointerExceptions from happening the FilterHandler.match and ServletHandler.match methods must guard against the uri parameter being null

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: