Lines Matching +full:provider +full:-
13 * The data provider for clientIP() tests.
29 // A X-Real-IP header.
35 // An X-Forwarded-For header from an untrusted proxy.
41 // An X-Forwarded-For header from a trusted proxy.
47 // An X-Forwarded-For header with proxies from an untrusted proxy.
53 // An X-Forwarded-For header with untrusted proxies from a trusted proxy.
59 // An X-Forwarded-For header with an invalid proxy from a trusted proxy.
65 // Malicious X-Real-IP and X-Forwarded-For headers.
71 // Malicious remote address, X-Real-IP and X-Forwarded-For headers.
87 * @param bool $useRealIp True if using the X-Real-IP header is enabled in the config.
88 * @param string $realIp The X-Real-IP header.
89 * @param string $forwardedFor The X-Forwarded-For header.
111 foreach ($this->configs as $config) {
113 …$this->assertEquals(str_replace(array_keys($addresses), array_values($addresses), $expected), clie…
123 * @param bool $useRealIp True if using the X-Real-IP header is enabled in the config.
124 * @param string $realIp The X-Real-IP header.
125 * @param string $forwardedFor The X-Forwarded-For header.
147 foreach ($this->configs as $config) {
149 …$this->assertEquals(str_replace(array_keys($addresses), array_values($addresses), $expected), clie…