Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
http-2.0.4
-
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