[
https://issues.apache.org/jira/browse/KARAF-4964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853180#comment-15853180
]
ASF GitHub Bot commented on KARAF-4964:
---------------------------------------
GitHub user nhtzr opened a pull request:
https://github.com/apache/karaf/pull/278
[KARAF-4964] Can't convert wrap URL used in shell commands
Add automatic escaping for quotation marks in URI arguments
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nhtzr/karaf karaf-4.0.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/karaf/pull/278.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #278
----
commit a560f96e2951814db46d7349591f28c69f235e89
Author: Ezequiel Rosas <[email protected]>
Date: 2017-02-05T09:39:04Z
Add automatic escape for URIs. Solves KARAF-4964
----
> Can't convert wrap URL used in shell commands
> ---------------------------------------------
>
> Key: KARAF-4964
> URL: https://issues.apache.org/jira/browse/KARAF-4964
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 4.1.0, 4.0.8
> Reporter: Jean-Baptiste Onofré
> Fix For: 4.0.9, 4.1.1
>
>
> The following command:
> {code}
> karaf@root()> bundle:install
> 'wrap:mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.8.6$overwrite=merge&Import-Package=javax.ws.rs;version="[2.0,3)"'
> {code}
> fails:
> {code}
> Error executing command bundle:install: unable to convert argument urls with
> value
> '[wrap:mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.8.6$overwrite=merge&Import-Package=javax.ws.rs;version="[2.0,3)"]'
> to type java.util.List<java.net.URI>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)