Skip to content

Commit 6d4aeb6

Browse files
committed
[#1803,TCK] Leave "" servlet mapping as is - don't change to "/"
1 parent aa17959 commit 6d4aeb6

File tree

1 file changed

+1
-1
lines changed
  • pax-web-spi/src/main/java/org/ops4j/pax/web/service/spi/util

1 file changed

+1
-1
lines changed

pax-web-spi/src/main/java/org/ops4j/pax/web/service/spi/util/Path.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public static String[] normalizePatterns(final String[] urlPatterns) {
121121
*/
122122
public static String normalizePattern(final String pattern) {
123123
if (pattern == null || "".equals(pattern.trim())) {
124-
return "/";
124+
return "";
125125
}
126126
if (!pattern.startsWith("/") && !pattern.startsWith("*")) {
127127
return "/" + pattern;

0 commit comments

Comments
 (0)