Actions
Bug #78786
closeddisable trustedHostsPattern check for Scheduler Task "System Status Update (reports)" (false negative)
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)
- Trusted hosts pattern mismatch: error
Actions