We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
johann-sonntagbauer opened SPR-17317 and commented
After the upgrade to Spring 5.1.0 the implementation of ServlerUriComponentsBuilder changed that X-Forwarded-* Headers are not respected any longer.
But some JavaDoc comments on the methods suggest otherwise.
This leads to misleading assumptions because JavaDoc and implementation are different.
Example:
#fromCurrentServletMapping
JavaDoc: This method extracts values from "Forwarded" and "X-Forwarded-*" headers if found
This method delegates to
#fromServletMapping which notes in the JavaDoc that
As of 5.1, this method ignores "Forwarded" and "X-Forwarded-*" headers ...
Affects: 5.1 GA
Issue Links:
Referenced from: commits bb5c8ed
The text was updated successfully, but these errors were encountered:
Rossen Stoyanchev commented
I've removed all method-level comments and added a single note on the class level to state that forwarded headers are no longer used as of 5.1.
Sorry, something went wrong.
johann-sonntagbauer commented
Thank you very much!
X-Forwarded-*
MvcUriComponentsBuilder
rstoyanchev
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
johann-sonntagbauer opened SPR-17317 and commented
After the upgrade to Spring 5.1.0 the implementation of ServlerUriComponentsBuilder changed that X-Forwarded-* Headers are not respected any longer.
But some JavaDoc comments on the methods suggest otherwise.
This leads to misleading assumptions because JavaDoc and implementation are different.
Example:
#fromCurrentServletMapping
JavaDoc: This method extracts values from "Forwarded" and "X-Forwarded-*" headers if found
This method delegates to
#fromServletMapping which notes in the JavaDoc that
As of 5.1, this method ignores "Forwarded" and "X-Forwarded-*" headers ...
Affects: 5.1 GA
Issue Links:
Referenced from: commits bb5c8ed
The text was updated successfully, but these errors were encountered: