You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2017/03/27 04:33:52 UTC
[3/5] karaf git commit: [KARAF-5003] Fix contextPath trim in
WebContainer
[KARAF-5003] Fix contextPath trim in WebContainer
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/2d7d9523
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/2d7d9523
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/2d7d9523
Branch: refs/heads/master
Commit: 2d7d95238281554cfc6a115dc3f292e989e9ef5b
Parents: 9f945fa
Author: Jean-Baptiste Onofr� <jb...@apache.org>
Authored: Sun Mar 26 07:39:55 2017 +0200
Committer: Jean-Baptiste Onofr� <jb...@apache.org>
Committed: Mon Mar 27 06:33:32 2017 +0200
----------------------------------------------------------------------
.../org/apache/karaf/web/internal/WebContainerServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/2d7d9523/web/src/main/java/org/apache/karaf/web/internal/WebContainerServiceImpl.java
----------------------------------------------------------------------
diff --git a/web/src/main/java/org/apache/karaf/web/internal/WebContainerServiceImpl.java b/web/src/main/java/org/apache/karaf/web/internal/WebContainerServiceImpl.java
index bab1bdd..c3a81ed 100644
--- a/web/src/main/java/org/apache/karaf/web/internal/WebContainerServiceImpl.java
+++ b/web/src/main/java/org/apache/karaf/web/internal/WebContainerServiceImpl.java
@@ -82,7 +82,7 @@ public class WebContainerServiceImpl implements WebContainerService, BundleListe
}
WebBundle webBundle = new WebBundle();
- contextPath.trim();
+ contextPath = contextPath.trim();
// get the bundle name
String name = (String) bundle.getHeaders().get(Constants.BUNDLE_NAME);