Skip to content

Use adaptFromForwardedHeaders instead of deprecated fromHttpRequest #3060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

thijsnissen
Copy link
Contributor

Use adaptFromForwardedHeaders instead of deprecated fromHttpRequest method.
FromHttpRequest has been removed in Spring 7.0.0-M7/Spring Boot 4.0.0-M1.

Please note: This PR proposes the same fix as #3027, but since I could not get the CI to run and this was not my fork/PR, I decided to create my own pull request. I hope that's ok.

@thijsnissen
Copy link
Contributor Author

@bnasslahsen I am not sure what is different from the other PR, but for this one the build succeeded. Please let me know if I need to do anything else before this can be merged. Thanks in advance! 👍🏻

@bnasslahsen bnasslahsen merged commit b1e465e into springdoc:main Aug 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants