-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
X-Forwarded-Prefix not working when using MVC #3354
Labels
Comments
1 task
Not to be taken seriously but… https://chatgpt.com/share/67897866-2904-800b-96a3-ba43cc156776 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using Spring Cloud Gateway MVC (2023.0.1) with Spring Boot (3.2.4) the forwarded requests are missing the
X-Forwarded-Prefix
Header. I have prepared a small comparison. The only possibility I found was setting the Header manually using theAddRequestHeader=X-Forwarded-Prefix, /foo/bar
filter.Shared Configuration
MVC Configuration
The forwarded Request ist missing the
X-Forwarded-Prefix
Header:REACTIVE Configuration
The text was updated successfully, but these errors were encountered: