mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Do not modify AliasChecks list from Jetty WebAppContext
Closes gh-29555 Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
000cbfa2d9
commit
f1bbce1aac
@ -218,7 +218,7 @@ public class JettyServletWebServerFactory extends AbstractServletWebServerFactor
|
||||
*/
|
||||
protected final void configureWebAppContext(WebAppContext context, ServletContextInitializer... initializers) {
|
||||
Assert.notNull(context, "Context must not be null");
|
||||
context.getAliasChecks().clear();
|
||||
context.clearAliasChecks();
|
||||
context.setTempDirectory(getTempDirectory());
|
||||
if (this.resourceLoader != null) {
|
||||
context.setClassLoader(this.resourceLoader.getClassLoader());
|
||||
|
Loading…
Reference in New Issue
Block a user