private function Request::isFromTrustedProxy in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::isFromTrustedProxy()
4 calls to Request::isFromTrustedProxy()
- Request::getClientIps in vendor/
symfony/ http-foundation/ Request.php - Returns the client IP addresses.
- Request::getHost in vendor/
symfony/ http-foundation/ Request.php - Returns the host name.
- Request::getPort in vendor/
symfony/ http-foundation/ Request.php - Returns the port on which the request is made.
- Request::isSecure in vendor/
symfony/ http-foundation/ Request.php - Checks whether the request is secure or not.
File
- vendor/
symfony/ http-foundation/ Request.php, line 1916
Class
- Request
- Request represents an HTTP request.
Namespace
Symfony\Component\HttpFoundationCode
private function isFromTrustedProxy() {
return self::$trustedProxies && IpUtils::checkIp($this->server
->get('REMOTE_ADDR'), self::$trustedProxies);
}