Project

General

Profile

Bug #84167 ยป 0001-BUGFIX-Negation-bug-in-getUrl-empty-body-check.patch

Felix Buenemann, 2018-03-07 19:57

View differences:

typo3/sysext/core/Classes/Utility/GeneralUtility.php
$report['content_type'] = $response->getHeader('Content-Type');
$report['error'] = $response->getStatusCode();
$report['message'] = $response->getReasonPhrase();
} elseif (!empty($content)) {
} elseif (empty($content)) {
$report['error'] = $response->getStatusCode();
$report['message'] = $response->getReasonPhrase();
} elseif ($includeHeader) {
    (1-1/1)