activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aja Walker (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-3209) URISupport.createURIWithQuery() fails on some composite uris.
Date Mon, 07 Mar 2011 23:40:59 GMT
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

Mime
View raw message