Lines Matching full:proxies
171 // If the configuration is empty then no proxies are trusted.
178 return true; // The given IP matches one of the trusted proxies.
182 return false; // none of the proxies matched
197 * proxies.
222 // The remaining items are the proxies through which the X-Forwarded-For
224 $proxies = $forwardedFor;
225 $proxies[] = $remoteAddr;
228 foreach ($proxies as $proxy) {
234 // Add the client address before the list of proxies.
235 return array_merge([$clientAddress], $proxies);
244 * - The X-Forwarded-For header if all the proxies are trusted by $conf[trustedproxy].
262 * Return the IP of the client and the proxies through which the connection has passed.
267 * - The X-Forwarded-For header if all the proxies are trusted by $conf[trustedproxies].
286 // Add the X-Forwarded-For addresses if all proxies are trusted.
311 * - The X-Forwarded-Host header if it exists and the proxies are trusted.
338 * Will use the X-Forwarded-Proto header if it exists and the proxies are trusted, otherwise