Skip to content

Commit 527850a

Browse files
committed
Align default context path expectation with Undertow 1.1.3's behaviour
When configured with a context path of "", Undertow 1.1.3 changes the context path to be "/". The change [1] was made to fix UNDERTOW-350 [2]. [1] undertow-io/undertow@3db7707 [2] https://issues.jboss.org/browse/UNDERTOW-350 See gh-2732
1 parent 0da24f8 commit 527850a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot/src/test/java/org/springframework/boot/context/embedded/undertow/UndertowEmbeddedServletContainerFactoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public void customize(DeploymentInfo deploymentInfo) {
146146
}
147147
});
148148
this.container = factory.getEmbeddedServletContainer();
149-
assertEquals("", contextPath.get());
149+
assertEquals("/", contextPath.get());
150150
}
151151

152152
}

0 commit comments

Comments
 (0)