diff --git a/typo3_src-7.6.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php b/typo3_src-7.6.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php index 18876a8..5fcd9ff 100644 --- a/typo3_src-7.6.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php +++ b/typo3_src-7.6.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php @@ -2546,15 +2546,10 @@ class GeneralUtility return false; } $method = $includeHeader == 2 ? 'HEAD' : 'GET'; - $msg = $method . ' ' . (isset($parsedURL['path']) ? $parsedURL['path'] : '/') . ($parsedURL['query'] ? '?' . $parsedURL['query'] : '') . ' HTTP/1.0' . CRLF . 'Host: ' . $parsedURL['host'] . ' - -Connection: close - -'; + $msg = $method . ' ' . (isset($parsedURL['path']) ? $parsedURL['path'] : '/') . ($parsedURL['query'] ? '?' . $parsedURL['query'] : '') . ' HTTP/1.0' . CRLF . 'Host: ' . $parsedURL['host'] . CRLF . 'Connection: close'. CRLF; if (is_array($requestHeaders)) { $msg .= implode(CRLF, $requestHeaders) . CRLF; } - $msg .= CRLF; fputs($fp, $msg); while (!feof($fp)) { $line = fgets($fp, 2048);