Browse Source

Upgrade to Jetty 9.4.45.v20220203

Closes gh-29791
pull/30003/head
Stephane Nicoll 4 years ago
parent
commit
dc171c6462
  1. 2
      spring-boot-project/spring-boot-dependencies/build.gradle
  2. 4
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-jsp/src/test/java/smoketest/jetty/jsp/SampleWebJspApplicationTests.java

2
spring-boot-project/spring-boot-dependencies/build.gradle

@ -904,7 +904,7 @@ bom { @@ -904,7 +904,7 @@ bom {
]
}
}
library("Jetty", "9.4.44.v20210927") {
library("Jetty", "9.4.45.v20220203") {
prohibit("[10.0.0-alpha0,)") {
because "it requires Java 11"
}

4
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-jsp/src/test/java/smoketest/jetty/jsp/SampleWebJspApplicationTests.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -59,7 +59,7 @@ class SampleWebJspApplicationTests { @@ -59,7 +59,7 @@ class SampleWebJspApplicationTests {
JettyServerCustomizer jettyServerCustomizer() {
return (server) -> {
ContextHandler handler = (ContextHandler) server.getHandler();
handler.addAliasCheck(new ContextHandler.ApproveAliases());
handler.addAliasCheck((path, resource) -> true);
};
}

Loading…
Cancel
Save