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

                 Key: FELIX-1999
                 URL: https://issues.apache.org/jira/browse/FELIX-1999
             Project: Felix
          Issue Type: Bug
    Affects Versions: http-2.0.4
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: http-2.0.6


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to