Skip to content

Added a minor help note about Request::setTrustedProxies #7382

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

Closed
wants to merge 2 commits into from

Conversation

javiereguiluz
Copy link
Member

This fixes #6198.

@@ -17,7 +17,7 @@ the actual host may be stored in an ``X-Forwarded-Host`` header.

Since HTTP headers can be spoofed, Symfony does *not* trust these proxy
headers by default. If you are behind a proxy, you should manually whitelist
your proxy.
your proxy as follows:
Copy link
Member

Choose a reason for hiding this comment

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

Should we move the versionadded block somewhere as it may not read a bit weird with the colon here?

@xabbuh
Copy link
Member

xabbuh commented Jan 31, 2017

Thanks Javier.

@xabbuh xabbuh closed this Jan 31, 2017
xabbuh added a commit that referenced this pull request Jan 31, 2017
…(javiereguiluz)

This PR was squashed before being merged into the 2.7 branch (closes #7382).

Discussion
----------

Added a minor help note about Request::setTrustedProxies

This fixes #6198.

Commits
-------

48f2c3d Added a minor help note about Request::setTrustedProxies
@javiereguiluz javiereguiluz deleted the fix_6198 branch May 24, 2018 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants