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

Carsten Ziegeler edited comment on FELIX-4925 at 6/12/15 12:54 PM:
-------------------------------------------------------------------

Neither getRequestURI nor getRequestURL return the decoded string, therefore 
they are not useful.
While getServletPath() and getPathInfo() return the decoded values, they don't 
include path parameters (like ;v=1.0).
I've now committed a version which:
- uses the decoded values unless the path contains a ";", in that case 
getRequestURL is used

This can only be seen as a temporary solution.

It seems that the Jetty's servlet implementation does not provide any access to 
path parameters, therefore I'm wondering why we want to do this? Or maybe I'm 
overlooking something.

[~jajans] What do you think? 


was (Author: cziegeler):
Fixed in rev 1685074

> Request path is not decoded
> ---------------------------
>
>                 Key: FELIX-4925
>                 URL: https://issues.apache.org/jira/browse/FELIX-4925
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: http.base-3.0.0, http.jetty-3.1.0
>
>
> The dispatcher servlet currently uses req.getRequestURI() to get the full 
> path of the request. However this information is not decoded and therefore 
> when the path contains unicode characters the encoded version is used instead 
> of the real path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to