[
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.patch
Proposed patch just calling URLDecoder.decode to decode the path info string
using UTF-8 encoding as recommended by
http://www.w3.org/TR/html40/appendix/notes.html#non-ascii-chars
> 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
> 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.