Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-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 0E2519EBB for ; Mon, 23 Apr 2012 22:14:54 +0000 (UTC) Received: (qmail 60750 invoked by uid 500); 23 Apr 2012 22:14:53 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 60709 invoked by uid 500); 23 Apr 2012 22:14:53 -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 60701 invoked by uid 99); 23 Apr 2012 22:14:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2012 22:14:53 +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, 23 Apr 2012 22:14:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A2D7B40BBC1 for ; Mon, 23 Apr 2012 22:14:32 +0000 (UTC) Date: Mon, 23 Apr 2012 22:14:32 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: <44448422.6972.1335219272670.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1176491018.36004.1302038465672.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (AMQ-3270) URISupport.parseComposite broken for IPV6 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/AMQ-3270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish closed AMQ-3270. ----------------------------- Resolution: Invalid Incorrect usage of the URISupport tools is at fault here. > URISupport.parseComposite broken for IPV6 > ----------------------------------------- > > Key: AMQ-3270 > URL: https://issues.apache.org/jira/browse/AMQ-3270 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.5.0 > Reporter: Gary D. Gregory > > For example: > {code:java} > @Test > public void testParseComposite() throws URISyntaxException { > URISupport.parseComposite(new URI("vm://[0:0:0:0:0:0:0:1]?broker.persistent=false")); > } > {code} > fails with: > {noformat} > java.net.URISyntaxException: Illegal character in scheme name at index 0: [0:0:0:0:0:0:0:1]?broker.persistent=false > at java.net.URI$Parser.fail(URI.java:2809) > at java.net.URI$Parser.checkChars(URI.java:2982) > at java.net.URI$Parser.checkChar(URI.java:2992) > at java.net.URI$Parser.parse(URI.java:3008) > at java.net.URI.(URI.java:578) > at org.apache.activemq.util.URISupport.parseComposite(URISupport.java:258) > at org.apache.activemq.util.URISupport.parseComposite(URISupport.java:202) > ... > {noformat} -- 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