Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 15317 invoked from network); 12 Sep 2007 20:35:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2007 20:35:45 -0000 Received: (qmail 71735 invoked by uid 500); 12 Sep 2007 20:35:36 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 71712 invoked by uid 500); 12 Sep 2007 20:35:36 -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 71701 invoked by uid 99); 12 Sep 2007 20:35:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 13:35:36 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 20:35:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6A90371417D for ; Wed, 12 Sep 2007 13:35:22 -0700 (PDT) Message-ID: <4169964.1189629322433.JavaMail.jira@brutus> Date: Wed, 12 Sep 2007 13:35:22 -0700 (PDT) From: "Christopher Sahnwaldt (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1385) URISupport.parseComposite() incorrectly decodes URI parts In-Reply-To: <31674817.1189628002329.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40131 ] Christopher Sahnwaldt commented on AMQ-1385: -------------------------------------------- As a workaround, I use _double_ URI encoding, i.e. a space becomes {{%2520}}. This works: {code} URI uri = new URI("vm://localhost/?broker.dataDirectory=C:/Documents%2520and%2520Settings/foo/bar"); new ActiveMQConnectionFactory(uri).createConnection().close(); {code} > URISupport.parseComposite() incorrectly decodes URI parts > --------------------------------------------------------- > > Key: AMQ-1385 > URL: https://issues.apache.org/activemq/browse/AMQ-1385 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 4.1.1 > Reporter: Christopher Sahnwaldt > Priority: Minor > > org.apache.activemq.util.URISupport.parseComposite() throws an URISyntaxException for some input URIs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.