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

Felix Meschberger updated FELIX-1979:
-------------------------------------

    Attachment: FELIX-1979-2.patch

Another patch basing on the servlet container's pathInfo.

Since this code is only called if the servlet container's pathInfo ensures the 
servlet alias, we can just cut off the servlet alias and be done.

> ServletHandlerRequest.getPathInfo() returns undecoded string
> ------------------------------------------------------------
>
>                 Key: FELIX-1979
>                 URL: https://issues.apache.org/jira/browse/FELIX-1979
>             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
>
>         Attachments: FELIX-1979-2.patch, FELIX-1979.patch
>
>
> The Servlet API specifies the HttpServletRequest.getPathInfo() to return a 
> decoded path string.
> The current implementation just cuts off the servlet context and servlet 
> alias from the request URL (retrieved from 
> HttpServletRequest.getRequestURI()), which is not decoded. Therefore the 
> resulting path info is also not decoded and needs decoding.

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