Project

General

Profile

Actions

Bug #78786

closed

disable trustedHostsPattern check for Scheduler Task "System Status Update (reports)" (false negative)

Added by Oliver Eglseder almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Reports
Target version:
-
Start date:
2016-11-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
On Location Sprint

Description

"System Status Update (reports)" is the Scheduler Task, which checks for all statuses, including the trusted host pattern.
The actual executed method, which always adds a failure message is \TYPO3\CMS\Install\SystemEnvironment\SetupCheck::checkTrustedHostPattern.
It passes $_SERVER['HTTP_HOST'] to \TYPO3\CMS\Core\Utility\GeneralUtility::hostHeaderValueMatchesTrustedHostsPattern, which won't be set on the command line.

This produces the false negative in the status update email:

Issues:
[ERR] System environment check - 1 Test(s)
  1. Trusted hosts pattern mismatch: error

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #78854: Remove obsolete CLI check from reports configClosedAlexander Stehlik2016-12-01

Actions
Actions #1

Updated by Markus Sommer almost 8 years ago

  • Assignee set to Markus Sommer

i can reproduce this

Actions #2

Updated by Gerrit Code Review almost 8 years 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/50777

Actions #3

Updated by Gerrit Code Review almost 8 years 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/50777

Actions #4

Updated by Gerrit Code Review almost 8 years 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/50777

Actions #5

Updated by Gerrit Code Review almost 8 years ago

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

Actions #6

Updated by Gerrit Code Review almost 8 years ago

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

Actions #7

Updated by Gerrit Code Review almost 8 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50818

Actions #8

Updated by Markus Sommer almost 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Anja Leichsenring almost 8 years ago

  • Sprint Focus set to On Location Sprint
Actions #10

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF