Skip to content

Commit e1663e2

Browse files
committed
Upgrade to Undertow 2.2.24.Final
Closes gh-35504
1 parent 93d571b commit e1663e2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizer.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -85,6 +85,7 @@ public void customize(ConfigurableUndertowWebServerFactory factory) {
8585
map.from(this::getOrDeduceUseForwardHeaders).to(factory::setUseForwardHeaders);
8686
}
8787

88+
@SuppressWarnings("deprecation")
8889
private void mapUndertowProperties(ConfigurableUndertowWebServerFactory factory, ServerOptions serverOptions) {
8990
PropertyMapper map = PropertyMapper.get().alwaysApplyingWhenNonNull();
9091
Undertow properties = this.serverProperties.getUndertow();

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizerTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ void customizeWorkerThreads() {
150150
}
151151

152152
@Test
153+
@SuppressWarnings("deprecation")
153154
void allowEncodedSlashes() {
154155
bind("server.undertow.allow-encoded-slash=true");
155156
assertThat(boundServerOption(UndertowOptions.ALLOW_ENCODED_SLASH)).isTrue();

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1885,7 +1885,7 @@ bom {
18851885
]
18861886
}
18871887
}
1888-
library("Undertow", "2.2.17.Final") {
1888+
library("Undertow", "2.2.24.Final") {
18891889
group("io.undertow") {
18901890
modules = [
18911891
"undertow-core",

0 commit comments

Comments
 (0)