Skip to content

Commit 0833e9e

Browse files
committed
Relax alias checking for CI on Windows
1 parent bd0829a commit 0833e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/spring-boot-server-tests-app/src/main/java/com/example/JettyServerCustomizerConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class JettyServerCustomizerConfig {
4646
public JettyServerCustomizer jettyServerCustomizer() {
4747
return (server) -> {
4848
ContextHandler handler = (ContextHandler) server.getHandler();
49-
handler.addAliasCheck(new AllowedResourceAliasChecker(handler));
49+
handler.addAliasCheck((path, resource) -> true);
5050

5151
for (Connector connector : server.getConnectors()) {
5252
connector.getConnectionFactory(HttpConnectionFactory.class).getHttpConfiguration()

0 commit comments

Comments
 (0)