You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "BK Lau (JIRA)" <ji...@apache.org> on 2013/02/20 19:23:12 UTC

[jira] [Updated] (WINK-361) Wink cannot resolved URI path segments that have encoded forward slashes

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

BK Lau updated WINK-361:
------------------------

    Priority: Blocker  (was: Major)

I'm updating this issue to a blocker because we need to be able to encode forward slashes in the ParamPath value.

Example:
If I have an REST URL like this /a/b/{x}
where x is encoded version of a string "N/A"
that is "N%2FA", attempts to do a GET on that URL will failed because WINK thinks that it is:
/a/b/N/A
                
> Wink cannot resolved URI  path segments that have encoded forward slashes
> -------------------------------------------------------------------------
>
>                 Key: WINK-361
>                 URL: https://issues.apache.org/jira/browse/WINK-361
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1.3
>         Environment: Any
>            Reporter: BK Lau
>            Priority: Blocker
>              Labels: Encoding, URI, forward, slashes
>
> Wink cannot resolve URI that have encoded forward slashes in them.
> Example: Consider the URI:
> /servers/{server}
> If the URI template parameter {server}  is "http://abc.com:8000", 
> one would get "404- Not Found" because of the "//" slashes

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira