Skip to content
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

Merged
merged 4 commits into from
Jun 28, 2015

Conversation

javiereguiluz
Copy link
Member

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.

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[...] information in non-standard [...]

Copy link
Member Author

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
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch. Fixed. Thanks.

@xabbuh
Copy link
Member

xabbuh commented Jun 16, 2015

👍

@weaverryan
Copy link
Member

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!

@weaverryan weaverryan merged commit 8928049 into symfony:2.3 Jun 28, 2015
weaverryan added a commit that referenced this pull request Jun 28, 2015
…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
@javiereguiluz javiereguiluz deleted the finish_4266 branch May 24, 2018 15:59
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.

5 participants