@@ -783,10 +783,6 @@ public function getClientIps()
783
783
* being the original client, and each successive proxy that passed the request
784
784
* adding the IP address where it received the request from.
785
785
*
786
- * If your reverse proxy uses a different header name than "X-Forwarded-For",
787
- * ("Client-Ip" for instance), configure it via the $trustedHeaderSet
788
- * argument of the Request::setTrustedProxies() method instead.
789
- *
790
786
* @return string|null The client IP address
791
787
*
792
788
* @see getClientIps()
@@ -890,10 +886,6 @@ public function getScheme()
890
886
*
891
887
* The "X-Forwarded-Port" header must contain the client port.
892
888
*
893
- * If your reverse proxy uses a different header name than "X-Forwarded-Port",
894
- * configure it via via the $trustedHeaderSet argument of the
895
- * Request::setTrustedProxies() method instead.
896
- *
897
889
* @return int|string can be a string if fetched from the server bag
898
890
*/
899
891
public function getPort ()
@@ -1108,10 +1100,6 @@ public function getQueryString()
1108
1100
*
1109
1101
* The "X-Forwarded-Proto" header must contain the protocol: "https" or "http".
1110
1102
*
1111
- * If your reverse proxy uses a different header name than "X-Forwarded-Proto"
1112
- * ("SSL_HTTPS" for instance), configure it via the $trustedHeaderSet
1113
- * argument of the Request::setTrustedProxies() method instead.
1114
- *
1115
1103
* @return bool
1116
1104
*/
1117
1105
public function isSecure ()
@@ -1133,10 +1121,6 @@ public function isSecure()
1133
1121
*
1134
1122
* The "X-Forwarded-Host" header must contain the client host name.
1135
1123
*
1136
- * If your reverse proxy uses a different header name than "X-Forwarded-Host",
1137
- * configure it via the $trustedHeaderSet argument of the
1138
- * Request::setTrustedProxies() method instead.
1139
- *
1140
1124
* @return string
1141
1125
*
1142
1126
* @throws SuspiciousOperationException when the host name is invalid or not trusted
0 commit comments