mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '2.5.x' into 2.6.x
Closes gh-30046
This commit is contained in:
commit
97222236fe
@ -16,7 +16,6 @@
|
||||
|
||||
package smoketest.jetty.jsp;
|
||||
|
||||
import org.eclipse.jetty.server.AllowedResourceAliasChecker;
|
||||
import org.eclipse.jetty.server.handler.ContextHandler;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@ -60,7 +59,7 @@ class SampleWebJspApplicationTests {
|
||||
JettyServerCustomizer jettyServerCustomizer() {
|
||||
return (server) -> {
|
||||
ContextHandler handler = (ContextHandler) server.getHandler();
|
||||
handler.addAliasCheck(new AllowedResourceAliasChecker(handler));
|
||||
handler.addAliasCheck((path, resource) -> true);
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user