karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject karaf git commit: [KARAF-4993] Remove alias property to fix security issue
Date Tue, 14 Mar 2017 14:25:26 GMT
Repository: karaf
Updated Branches:
  refs/heads/master ccd1ec69b -> cfa213ad6


[KARAF-4993] Remove alias property to fix security issue


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/cfa213ad
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/cfa213ad
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/cfa213ad

Branch: refs/heads/master
Commit: cfa213ad680ded70b70bf0c648891a06386ef632
Parents: ccd1ec6
Author: Christian Schneider <chris@die-schneider.net>
Authored: Tue Mar 14 15:25:20 2017 +0100
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Tue Mar 14 15:25:20 2017 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/karaf/webconsole/features/Activator.java   | 1 -
 .../src/main/java/org/apache/karaf/webconsole/gogo/Activator.java   | 1 -
 .../main/java/org/apache/karaf/webconsole/instance/Activator.java   | 1 -
 3 files changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/cfa213ad/webconsole/features/src/main/java/org/apache/karaf/webconsole/features/Activator.java
----------------------------------------------------------------------
diff --git a/webconsole/features/src/main/java/org/apache/karaf/webconsole/features/Activator.java
b/webconsole/features/src/main/java/org/apache/karaf/webconsole/features/Activator.java
index 343d27f..1cd84c9 100644
--- a/webconsole/features/src/main/java/org/apache/karaf/webconsole/features/Activator.java
+++ b/webconsole/features/src/main/java/org/apache/karaf/webconsole/features/Activator.java
@@ -42,7 +42,6 @@ public class Activator extends BaseActivator {
 
         Dictionary<String, String> props = new Hashtable<>();
         props.put("felix.webconsole.label", "features");
-        props.put("alias", "/features");
         register(Servlet.class, featuresPlugin, props);
     }
 

http://git-wip-us.apache.org/repos/asf/karaf/blob/cfa213ad/webconsole/gogo/src/main/java/org/apache/karaf/webconsole/gogo/Activator.java
----------------------------------------------------------------------
diff --git a/webconsole/gogo/src/main/java/org/apache/karaf/webconsole/gogo/Activator.java
b/webconsole/gogo/src/main/java/org/apache/karaf/webconsole/gogo/Activator.java
index 4825600..a0ce5ce 100644
--- a/webconsole/gogo/src/main/java/org/apache/karaf/webconsole/gogo/Activator.java
+++ b/webconsole/gogo/src/main/java/org/apache/karaf/webconsole/gogo/Activator.java
@@ -41,7 +41,6 @@ public class Activator extends BaseActivator {
 
         Dictionary<String, String> props = new Hashtable<>();
         props.put("felix.webconsole.label", "gogo");
-        props.put("alias", "/gogo");
         register(Servlet.class, gogoPlugin, props);
     }
 

http://git-wip-us.apache.org/repos/asf/karaf/blob/cfa213ad/webconsole/instance/src/main/java/org/apache/karaf/webconsole/instance/Activator.java
----------------------------------------------------------------------
diff --git a/webconsole/instance/src/main/java/org/apache/karaf/webconsole/instance/Activator.java
b/webconsole/instance/src/main/java/org/apache/karaf/webconsole/instance/Activator.java
index 6d090ad..abfeecc 100644
--- a/webconsole/instance/src/main/java/org/apache/karaf/webconsole/instance/Activator.java
+++ b/webconsole/instance/src/main/java/org/apache/karaf/webconsole/instance/Activator.java
@@ -41,7 +41,6 @@ public class Activator extends BaseActivator {
 
         Dictionary<String, String> props = new Hashtable<>();
         props.put("felix.webconsole.label", "instance");
-        props.put("alias", "/instance");
         register(Servlet.class, instancePlugin, props);
     }
 


Mime
View raw message