Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b46276e

Browse filesBrowse files
pascal-hofmannnicolas-grekas
authored andcommitted
Add HEADER_FORWARDED to setTrustedHeaderName docs
1 parent fa9d24c commit b46276e
Copy full SHA for b46276e

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎src/Symfony/Component/HttpFoundation/Request.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Request.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ public static function getTrustedHosts()
596596
* * Request::HEADER_CLIENT_HOST: defaults to X-Forwarded-Host (see getHost())
597597
* * Request::HEADER_CLIENT_PORT: defaults to X-Forwarded-Port (see getPort())
598598
* * Request::HEADER_CLIENT_PROTO: defaults to X-Forwarded-Proto (see getScheme() and isSecure())
599+
* * Request::HEADER_FORWARDED: defaults to Forwarded (see RFC 7239)
599600
*
600601
* Setting an empty value allows to disable the trusted header for the given key.
601602
*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.