[ 
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.

Reply via email to