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] [Resolved] (FELIX-4730) RequestDispatcher's servletPath is wrong for the root servlet
Date Fri, 12 Dec 2014 14:26:13 GMT

     [ 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)

Mime
View raw message