Skip to content

Commit

Permalink
Upgrade to Undertow 2.2.24.Final
Browse files Browse the repository at this point in the history
Closes gh-35504
  • Loading branch information
wilkinsona committed May 17, 2023
1 parent 93d571b commit e1663e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2023 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.
Expand Down Expand Up @@ -85,6 +85,7 @@ public void customize(ConfigurableUndertowWebServerFactory factory) {
map.from(this::getOrDeduceUseForwardHeaders).to(factory::setUseForwardHeaders);
}

@SuppressWarnings("deprecation")
private void mapUndertowProperties(ConfigurableUndertowWebServerFactory factory, ServerOptions serverOptions) {
PropertyMapper map = PropertyMapper.get().alwaysApplyingWhenNonNull();
Undertow properties = this.serverProperties.getUndertow();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ void customizeWorkerThreads() {
}

@Test
@SuppressWarnings("deprecation")
void allowEncodedSlashes() {
bind("server.undertow.allow-encoded-slash=true");
assertThat(boundServerOption(UndertowOptions.ALLOW_ENCODED_SLASH)).isTrue();
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-project/spring-boot-dependencies/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -1885,7 +1885,7 @@ bom {
]
}
}
library("Undertow", "2.2.17.Final") {
library("Undertow", "2.2.24.Final") {
group("io.undertow") {
modules = [
"undertow-core",
Expand Down

0 comments on commit e1663e2

Please sign in to comment.