Symfony\Component\HttpFoundation\Tests\RequestTest::testGetClientIpsWithConflictingHeadersProvider PHP Method

testGetClientIpsWithConflictingHeadersProvider() public method

    public function testGetClientIpsWithConflictingHeadersProvider()
    {
        //        $httpForwarded                   $httpXForwardedFor
        return array(
            array('for=87.65.43.21',                 '192.0.2.60'),
            array('for=87.65.43.21, for=192.0.2.60', '192.0.2.60'),
            array('for=192.0.2.60',                  '192.0.2.60,87.65.43.21'),
            array('for="::face", for=192.0.2.60',    '192.0.2.60,192.0.2.43'),
            array('for=87.65.43.21, for=192.0.2.60', '192.0.2.60,87.65.43.21'),
        );
    }
RequestTest