Bug #41718 » jumpurl.diff
typo3/sysext/cms/tslib/class.tslib_fe.php 2010-06-22 17:36:35.000000000 +0200 → typo3/sysext/cms/tslib/class.tslib_fe.php 2012-10-08 14:43:30.000000000 +0200 | ||
---|---|---|
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
||
header('Content-Type: '.$mimeType);
|
||
header('Content-Disposition: attachment; filename='.basename($this->jumpurl));
|
||
$juStat = stat($this->jumpurl);
|
||
header('Content-Length: '.$juStat['size']);
|
||
ob_end_flush();
|
||
readfile($this->jumpurl);
|
||
exit;
|
||
} else die('jumpurl Secure: "'.$this->jumpurl.'" was not a valid file!');
|