[
https://issues.apache.org/jira/browse/WINK-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890739#action_12890739
]
Nick Gallardo commented on WINK-302:
------------------------------------
Agreed on the double encoding. Another option would be to add a method or
property to the client config. So the invocation looks the same, but you can
turn the encoding on or off as needed.
> Wink client fails to escape especial characters like + or " " space in the
> url. This reuslts url exceptions
> -----------------------------------------------------------------------------------------------------------
>
> Key: WINK-302
> URL: https://issues.apache.org/jira/browse/WINK-302
> Project: Wink
> Issue Type: Improvement
> Components: Client
> Affects Versions: 1.0, 1.1, 1.1.1
> Environment: Websphere Applicaton Version 7.0.0.9, Wink 1.0 that
> comes with IBM Web2 feature pack
> Reporter: S. Farshi
>
> In my rest application the following works if I type it in the browser:
>
> http://localhost:9080/web/rest/vendor/IBM/family/BladeCenter/descriptor/system
> p+/os/AIX 6.1.1
> however; calling the same url through wink client would result in URL
> exception and that is because of " " [space] and + sign in the url. I had to
> write some code to escape these especial characters [space with %20 and +
> with %2B]. I believe Wink client should be smart enough to do similar tasks
> like these so that we developers focus on application logic as opposed to
> things like these that Wink framework should take care of.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.