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 "Sagara Gunathunga (Closed) (JIRA)" <ji...@apache.org> on 2012/03/01 10:12:00 UTC
[jira] [Closed] (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 ]
Sagara Gunathunga closed AXIS2-4989.
-------------------------------------
Resolution: Fixed
Fix Version/s: (was: nightly)
1.7.0
1.6.2
Patch available on r1295479.
> 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: 1.6.2, 1.7.0
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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