-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Added support for standard Forwarded header #5382
Conversation
Most reverse proxies store information on specific ``X-Forwarded-*`` headers. | ||
But if your reverse proxy uses non-standard header names, you can configure | ||
Although `RFC 7239`_ recently defined a standard ``Forwarded`` header to disclose | ||
all proxy information, most reverse proxies store information on non-standard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[...] information in non-standard [...]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. Thanks.
``X-Forwarded-For`` header. | ||
|
||
.. versionadded:: 2.7 | ||
``Forwarded`` header support was introduced in Symfony 2.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing period at the end of the sentence
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch. Fixed. Thanks.
👍 |
Thanks Javier! Even though this mentions a 2.7 feature, I merged it into the 2.3 branch, because we never actually show any functions that don't exist in 2.3, and because we're mostly talking about something that's universally true (and someone using 2.3 might want to know that the Forwarded header does have support in a later version). Cheers! |
…aviereguiluz) This PR was merged into the 2.3 branch. Discussion ---------- Added support for standard Forwarded header | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.7+ | Fixed tickets | - This PR finishes the work made by @tony-co in #4266. Commits ------- 8928049 Fixed a minor grammar issue 319c081 Fixed a minor grammar issue ac3689b Added support for standard Forwarded header d452137 Added support for standard Forwarded header
This PR finishes the work made by @tony-co in #4266.