[FELIX-54] Applied fix supplied by Mikhail Kotelnikov for registering servlets under a root context of "/".

git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@432171 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/http.jetty/src/main/java/org/apache/felix/http/jetty/HttpServiceImpl.java b/http.jetty/src/main/java/org/apache/felix/http/jetty/HttpServiceImpl.java
index 82e3eb4..ba603e5 100644
--- a/http.jetty/src/main/java/org/apache/felix/http/jetty/HttpServiceImpl.java
+++ b/http.jetty/src/main/java/org/apache/felix/http/jetty/HttpServiceImpl.java
@@ -370,10 +370,9 @@
         
         private String aliasWildcard(String alias)
         {
-            // add wilcard filter at the end of the alias to allow servlet to 
+            // add wilcard filter at the end of the alias to allow servlet to
             // get requests which include sub-paths
-            return alias + "/*";            
-        }
-        
+            return "/".equals(alias) ? "/*" : alias + "/*";
+        } 
     }
 }
\ No newline at end of file