Relax alias checking for CI on Windows

pull/30077/head
Andy Wilkinson 3 years ago
parent bd0829a382
commit 0833e9eab8

@ -46,7 +46,7 @@ public class JettyServerCustomizerConfig {
public JettyServerCustomizer jettyServerCustomizer() { public JettyServerCustomizer jettyServerCustomizer() {
return (server) -> { return (server) -> {
ContextHandler handler = (ContextHandler) server.getHandler(); ContextHandler handler = (ContextHandler) server.getHandler();
handler.addAliasCheck(new AllowedResourceAliasChecker(handler)); handler.addAliasCheck((path, resource) -> true);
for (Connector connector : server.getConnectors()) { for (Connector connector : server.getConnectors()) {
connector.getConnectionFactory(HttpConnectionFactory.class).getHttpConfiguration() connector.getConnectionFactory(HttpConnectionFactory.class).getHttpConfiguration()

Loading…
Cancel
Save