You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2014/12/12 15:26:13 UTC

[jira] [Resolved] (FELIX-4730) RequestDispatcher's servletPath is wrong for the root servlet

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

Felix Meschberger resolved FELIX-4730.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: http-2.4.0

Fixed in Rev. 1644885 by applying using the empty string as the servlet path if the alias denotes the root servlet -- this is the same logic as in ServletHandlerRequest.getServletPath

> RequestDispatcher's servletPath is wrong for the root servlet
> -------------------------------------------------------------
>
>                 Key: FELIX-4730
>                 URL: https://issues.apache.org/jira/browse/FELIX-4730
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.3.2
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: http-2.4.0
>
>
> ServletHandler.RequestDispatcherImpl uses the servlet alias unmodified as the servlet path for forwarded requests. In case of the root servlet resgistered with "/", this should actually be converted to the empty string according to the specification of ServletRequest.getServletPath().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)