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] 3db7707b8b
[2] https://issues.jboss.org/browse/UNDERTOW-350
See gh-2732
This commit is contained in:
parent
0da24f82e3
commit
527850ae55
|
@ -146,7 +146,7 @@ public class UndertowEmbeddedServletContainerFactoryTests extends
|
|||
}
|
||||
});
|
||||
this.container = factory.getEmbeddedServletContainer();
|
||||
assertEquals("", contextPath.get());
|
||||
assertEquals("/", contextPath.get());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue