Uploaded image for project: 'Wink'
  1. Wink
  2. WINK-302

Wink client fails to escape especial characters like + or " " space in the url. This reuslts url exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0, 1.1, 1.1.1
    • None
    • Client
    • None
    • Websphere Applicaton Version 7.0.0.9, Wink 1.0 that comes with IBM Web2 feature pack

    Description

      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.

      Attachments

        1. WINK-302.patch
          5 kB
          Michael Rheinheimer

        Activity

          People

            rott Michael Rheinheimer
            siamack S. Farshi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: