Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4989

Fixing REST invocation problem where HTTP POST content is not properly URL decoded, where "+" character is occuring

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.4
    • 1.6.2, 1.7.0
    • kernel
    • None

    Description

      As mentioned by Tobias Zafke, the + character is not properly handled when parsing the content of a HTTP POST REST request, thus the content passed to a service is incorrect. The fault is at URIEncoderDecoder class, where it does not consider the '' character. For example, the java.util.URLEncoder encodes the spaces in a string with '' character, so applications using URLEncoder to encode strings will result in sending invalid data to an Axis2 service.

      Attachments

        1. AXIS2-4989-Patch.txt
          1 kB
          Anjana Fernando

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anjana Anjana Fernando
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: