Project

General

Profile

Actions

Bug #88898

closed

Add test for set HTTP_HOST, HTTP_X_FORWARDED_HOST + reverseProxyIP

Added by Jonas Eberle over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2019-08-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
CodingNight
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

IMHO 1 case is not covered.

It is very close to

            'first HTTP_X_FORWARDED_HOST from configured proxy' => [
                [
                    'HTTP_HOST' => '',
                    'REMOTE_ADDR' => '123.123.123.123',
                    'HTTP_X_FORWARDED_HOST' => 'www.domain1.com, www.domain2.com,'
                ],
                [
                    'reverseProxyIP' => '123.123.123.123',
                    'reverseProxyHeaderMultiValue' => 'first',
                ],
                'www.domain1.com',
            ],

, but with a set HTTP_HOST. The result shall be the same.
Actions

Also available in: Atom PDF