Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6F9C9CAE for ; Fri, 2 Mar 2012 09:36:21 +0000 (UTC) Received: (qmail 79605 invoked by uid 500); 2 Mar 2012 09:36:20 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 79458 invoked by uid 500); 2 Mar 2012 09:36:20 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 79449 invoked by uid 99); 2 Mar 2012 09:36:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 09:36:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 09:36:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 214C549B0 for ; Fri, 2 Mar 2012 09:35:59 +0000 (UTC) Date: Fri, 2 Mar 2012 09:35:59 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: java-dev@axis.apache.org Message-ID: <652290162.11264.1330680959137.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2118169614.15951.1301283365761.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AXIS2-4989) Fixing REST invocation problem where HTTP POST content is not properly URL decoded, where "+" character is occuring MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220801#comment-13220801 ] Hudson commented on AXIS2-4989: ------------------------------- Integrated in Axis2 #1280 (See [https://builds.apache.org/job/Axis2/1280/]) Applied patch for AXIS2-4989. (Revision 1295479) Result = ABORTED sagara : Files : * /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/transport/http/util/URIEncoderDecoder.java > 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