axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anjana Fernando (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-4989) Fixing REST invocation problem where HTTP POST content is not properly URL decoded, where "+" character is occuring
Date Mon, 28 Mar 2011 03:38:05 GMT

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

Anjana Fernando updated AXIS2-4989:
-----------------------------------

    Attachment: AXIS2-4989-Patch.txt

Patch to fix the aforementioned issue. 

> 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: Sub-task
>          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


Mime
View raw message