Update properties for forwarded headers - #51127
Closed
VedPatel2811 wants to merge 1 commit into
Closed
Conversation
VedPatel2811
force-pushed
the
gh-51030-forwarded-headers-properties
branch
from
July 25, 2026 17:13
b89c0fd to
944b26b
Compare
Closes spring-projectsgh-51030" Signed-off-by: Ved Patel <veds28112004@gmail.com>
Member
|
Thanks for the PR but @bclozel was already working on this. I've assigned it on the issue, and sorry for the wasted efforts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates properties for forwarded headers to adapt to upcoming Spring Framework 7.1 changes (spring-projects/spring-framework#37072), which requires an explicit choice of forwarded header types (
ForwardedvsX-Forwarded-*).Changes
Forwardedclass andForwardedHeaderTypeenum toServerProperties(server.forwarded.header-type,server.forwarded.x-forwarded-ssl-enabled,server.forwarded.x-forwarded-prefix-enabled).ServletWebServerConfigurationandReactiveWebServerConfigurationto wire new properties ontoForwardedHeaderFilterandForwardedHeaderTransformer.webserver.adocwith header-type selection guidance, YAML examples, and security notes.Closes gh-51030