Bug #72299 » typo3_6.2.30_bug_72299_404_fix.diff
typo3_src-6.2.30/typo3/sysext/core/Classes/Utility/GeneralUtility.php 2017-03-23 15:29:01.549125848 +0100 | ||
---|---|---|
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;
|
||
}
|
- « Previous
- 1
- 2
- 3
- 4
- Next »