You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2011/04/02 17:41:05 UTC

[jira] [Updated] (AXIS2-4989) Fixing REST invocation problem where HTTP POST content is not properly URL decoded, where "+" character is occuring

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

Andreas Veithen updated AXIS2-4989:
-----------------------------------

    Issue Type: Bug  (was: Sub-task)
        Parent:     (was: AXIS2-3748)

> Fixing REST invocation problem where HTTP POST content is not properly URL decoded, where "+" character is occuring
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4989
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4989
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.5.4
>            Reporter: Anjana Fernando
>             Fix For: nightly
>
>         Attachments: AXIS2-4989-Patch.txt
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org