Project

General

Profile

Bug #72299 » patch.diff

Patch - D. Röhrig, 2015-12-17 15:10

View differences:

typo3_src-7.6.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php
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);
(2-2/4)