Bug #16907
closedExtensions can't be downloaded from Backup/Delete page using IE7
0%
Description
When attempting to download an extension as a .t3x file from the extension manager with IE7, the following error pops up when clicking on the link "Download extension "the_current_extension" as a file" :
"Internet explorer can't download index.php from www.currentsite.com
Internet Explorer couln't open this website. The website is not available or couldn't be found. Try again later"
The very same link works fine with firefox.
I have seen the this error on 2 windows servers running apache. I haven't tested on Linux servers but I beleive the problem comes from IE7, not the server.
(issue imported from #M4868)
Files
Updated by Alban Cousinie over 17 years ago
This issue is still present in Typo3 4.1
Updated by Alban Cousinie over 17 years ago
I just fixed the bug and uploaded the updated file to this issue report (this is file /typo3/mod/tools/em/class.em_index.php)
The modification is the following :
At line 2422, replace the following lines :
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.$filename);
echo $backUpData;
exit;
by :
header("Pragma: public"); // required
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private",false); // required for certain browsers
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.$filename);
header("Content-Transfer-Encoding: binary");
echo $backUpData;
exit;
Updated by Chris topher almost 15 years ago
I tested this with TYPO3 4.3 and IE8.
The file is offered for download and saved correctly.