Lines Matching full:proxies
176 // If the configuration is empty then no proxies are trusted.
183 return true; // The given IP matches one of the trusted proxies.
187 return false; // none of the proxies matched
202 * proxies.
227 // The remaining items are the proxies through which the X-Forwarded-For
229 $proxies = $forwardedFor;
230 $proxies[] = $remoteAddr;
233 foreach ($proxies as $proxy) {
239 // Add the client address before the list of proxies.
240 return array_merge([$clientAddress], $proxies);
249 * - The X-Forwarded-For header if all the proxies are trusted by $conf[trustedproxy].
267 * Return the IP of the client and the proxies through which the connection has passed.
272 * - The X-Forwarded-For header if all the proxies are trusted by $conf[trustedproxies].
291 // Add the X-Forwarded-For addresses if all proxies are trusted.
316 * - The X-Forwarded-Host header if it exists and the proxies are trusted.
343 * Will use the X-Forwarded-Proto header if it exists and the proxies are trusted, otherwise