Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 54091 invoked from network); 5 Apr 2011 21:21:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Apr 2011 21:21:45 -0000 Received: (qmail 47256 invoked by uid 500); 5 Apr 2011 21:21:45 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 47219 invoked by uid 500); 5 Apr 2011 21:21:45 -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 47209 invoked by uid 99); 5 Apr 2011 21:21:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 21:21:45 +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; Tue, 05 Apr 2011 21:21:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A8CB894DF2 for ; Tue, 5 Apr 2011 21:21:05 +0000 (UTC) Date: Tue, 5 Apr 2011 21:21:05 +0000 (UTC) From: "Gary D. Gregory (JIRA)" To: dev@activemq.apache.org Message-ID: <1176491018.36004.1302038465672.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 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. For more information on JIRA, see: http://www.atlassian.com/software/jira