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

[jira] Resolved: (WINK-302) Wink client fails to escape especial characters like + or " " space in the url. This reuslts url exceptions

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

Mike Rheinheimer resolved WINK-302.
-----------------------------------

      Assignee: Mike Rheinheimer
    Resolution: Fixed

Committed in SVN 984910.

> 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
>            Assignee: Mike Rheinheimer
>         Attachments: WINK-302.patch
>
>
> 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.