This is an automated email from the ASF dual-hosted git repository.

ffang pushed a commit to branch karaf-4.1.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.1.x by this push:
     new d2b5978  [KARAF-5694]don't mess with the wrap URI
d2b5978 is described below

commit d2b5978bd056e49b2461bd050a212e28672aac53
Author: Freeman Fang <freeman.f...@gmail.com>
AuthorDate: Fri Apr 13 08:03:37 2018 +0800

    [KARAF-5694]don't mess with the wrap URI
    
    (cherry picked from commit 9786364d514f15e57d6723d2a5205fbb9f8790a3)
---
 .../karaf/features/internal/download/impl/DownloadManagerHelper.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/features/core/src/main/java/org/apache/karaf/features/internal/download/impl/DownloadManagerHelper.java
 
b/features/core/src/main/java/org/apache/karaf/features/internal/download/impl/DownloadManagerHelper.java
index c9ca654..fb5e4dd 100644
--- 
a/features/core/src/main/java/org/apache/karaf/features/internal/download/impl/DownloadManagerHelper.java
+++ 
b/features/core/src/main/java/org/apache/karaf/features/internal/download/impl/DownloadManagerHelper.java
@@ -50,8 +50,8 @@ public final class DownloadManagerHelper {
         if (strippedUrl.contains("#")) {
             strippedUrl = strippedUrl.substring(0, strippedUrl.indexOf('#'));
         }
-        if (strippedUrl.contains(";")) {
-            strippedUrl = strippedUrl.substring(0, strippedUrl.indexOf(';'));
+        if (strippedUrl.contains(";start-level=")) {
+            strippedUrl = strippedUrl.substring(0, 
strippedUrl.indexOf(";start-level="));
         }
         return strippedUrl;
     }

-- 
To stop receiving notification emails like this one, please contact
ff...@apache.org.

Reply via email to