Skip to content

Commit 7f9fd04

Browse files
committed
Upgrade to Undertow 2.2.24.Final
Closes gh-35541
1 parent 47f1fc5 commit 7f9fd04

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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1882,7 +1882,7 @@ bom {
18821882
]
18831883
}
18841884
}
1885-
library("Undertow", "2.2.20.Final") {
1885+
library("Undertow", "2.2.24.Final") {
18861886
group("io.undertow") {
18871887
modules = [
18881888
"undertow-core",

0 commit comments

Comments
 (0)