We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46af71a commit b35b9b0Copy full SHA for b35b9b0
Tests/HttpCache/HttpCacheTest.php
@@ -1361,7 +1361,7 @@ public function testClientIpIsAlwaysLocalhostForForwardedRequests()
1361
*/
1362
public function testHttpCacheIsSetAsATrustedProxy(array $existing)
1363
{
1364
- Request::setTrustedProxies($existing, Request::HEADER_X_FORWARDED_ALL);
+ Request::setTrustedProxies($existing, Request::HEADER_X_FORWARDED_FOR);
1365
1366
$this->setNextResponse();
1367
$this->request('GET', '/', ['REMOTE_ADDR' => '10.0.0.1']);
0 commit comments