felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-1999) The classes in the http.base bundle do not properly handle ServletRequest.getPathInfo() == null
Date Sun, 09 Jan 2011 04:15:45 GMT

     [ https://issues.apache.org/jira/browse/FELIX-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Felix Meschberger updated FELIX-1999:
-------------------------------------

    Component/s: HTTP Service

> 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
>          Components: HTTP Service
>    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.


Mime
View raw message