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
pull/2740/head
Andy Wilkinson 10 years ago
parent 0da24f82e3
commit 527850ae55

@ -146,7 +146,7 @@ public class UndertowEmbeddedServletContainerFactoryTests extends
}
});
this.container = factory.getEmbeddedServletContainer();
assertEquals("", contextPath.get());
assertEquals("/", contextPath.get());
}
}

Loading…
Cancel
Save