[ 
https://issues.apache.org/jira/browse/FELIX-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800128#action_12800128
 ] 

Sten Roger Sandvik commented on FELIX-1979:
-------------------------------------------

Yes. That would be another approach. URLDecode approach is atleast 
server-container neutral (if for some reason some servlet containers do this 
differently).


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