Bug #88898

Add test for set HTTP_HOST, HTTP_X_FORWARDED_HOST + reverseProxyIP

Added by Jonas Eberle 15 days ago. Updated 15 days ago.

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

0%

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.

History

#1 Updated by Gerrit Code Review 15 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61404

#2 Updated by Gerrit Code Review 15 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61404

#3 Updated by Gerrit Code Review 15 days ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61404

#4 Updated by Susanne Moog 15 days ago

  • Tags set to CodingNight

Also available in: Atom PDF