Lines Matching full:proxies
149 // If the configuration is empty then no proxies are trusted.
156 return true; // The given IP matches one of the trusted proxies.
160 return false; // none of the proxies matched
175 * proxies.
200 // The remaining items are the proxies through which the X-Forwarded-For
202 $proxies = $forwardedFor;
203 $proxies[] = $remoteAddr;
206 foreach ($proxies as $proxy) {
212 // Add the client address before the list of proxies.
213 return array_merge([$clientAddress], $proxies);
222 * - The X-Forwarded-For header if all the proxies are trusted by $conf[trustedproxy].
240 * Return the IP of the client and the proxies through which the connection has passed.
245 * - The X-Forwarded-For header if all the proxies are trusted by $conf[trustedproxies].
264 // Add the X-Forwarded-For addresses if all proxies are trusted.
289 * - The X-Forwarded-Host header if it exists and the proxies are trusted.
316 * Will use the X-Forwarded-Proto header if it exists and the proxies are trusted, otherwise