diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java index 527849b619..9ab60a620d 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java @@ -473,7 +473,7 @@ public class ServerProperties { /** * Whether to reject requests with illegal header names or values. */ - @Deprecated + @Deprecated(since = "2.7.12", forRemoval = true) private boolean rejectIllegalHeader = true; /**