Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 44856 invoked from network); 7 Mar 2011 23:41:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Mar 2011 23:41:25 -0000 Received: (qmail 37772 invoked by uid 500); 7 Mar 2011 23:41:23 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 37724 invoked by uid 500); 7 Mar 2011 23:41:23 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 37574 invoked by uid 99); 7 Mar 2011 23:41:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 23:41:23 +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; Mon, 07 Mar 2011 23:41:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6A5EC39CB86 for ; Mon, 7 Mar 2011 23:40:59 +0000 (UTC) Date: Mon, 7 Mar 2011 23:40:59 +0000 (UTC) From: "Aja Walker (JIRA)" To: dev@activemq.apache.org Message-ID: <1307741441.3004.1299541259417.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (AMQ-3209) URISupport.createURIWithQuery() fails on some composite uris. 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 URISupport.createURIWithQuery() fails on some composite uris. ------------------------------------------------------------- Key: AMQ-3209 URL: https://issues.apache.org/jira/browse/AMQ-3209 Project: ActiveMQ Issue Type: Bug Affects Versions: 5.5.0 Reporter: Aja Walker Priority: Minor Attachments: URISupportTest.java.diff URISupport.createURIWithQuery() fails on composite URIs that have an inner query but not an outer query, e.g.: outerscheme:(innerscheme:innerssp?innerquery=0) The failure is due to the method not taking into account this possibility and assuming the query consists of everything after the last question mark. The attached patch is for a test case in org.apache.activemq.util.URISupportTest that demonstrates the problem. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira