Project

General

Profile

Bug #41718 » jumpurl.diff

till busch, 2012-10-08 14:52

View differences:

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!');
    (1-1/1)