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

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12897940#action_12897940 ] 

Hudson commented on WINK-302:
-----------------------------

Integrated in Wink-Trunk-JDK1.5 #378 (See [http://hudson.zones.apache.org/hudson/job/Wink-Trunk-JDK1.5/378/])
    WINK-302: add API call to encode URLs for client when desired


> 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.