[
https://issues.apache.org/jira/browse/FELIX-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799665#action_12799665
]
Felix Meschberger commented on FELIX-1979:
------------------------------------------
Reconsidering, I wonder, whether we could not just use the actual servlet
container's patchInfo and cut off the servlet alias from the front instead of
decoding ourselves ?
> 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.