Project

General

Profile

Actions

Bug #78786

closed

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

Added by Oliver Eglseder over 7 years ago. Updated over 5 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

Also available in: Atom PDF