#81209compressionLevel and dumpFileContents results in empty files
Description
If
$GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel']
is set the function dumpFileContents, e.g.:
/**
* @param FileReference $file
* @throws \Exception
*/
public function deliverAction(FileReference $file)
{
$file->getOriginalResource()->getOriginalFile()->getStorage()->dumpFileContents(
$file->getOriginalResource(),
true
);
exit;
}
will send a file with a Content-Length header of 0.
Also effects EXT:jumpurl
https://github.com/FriendsOfTYPO3/jumpurl/issues/5
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.