Bug #16907
closed
Extensions can't be downloaded from Backup/Delete page using IE7
Added by Alban Cousinie almost 18 years ago.
Updated about 6 years ago.
Category:
Extension Manager
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
This issue is still present in Typo3 4.1
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;
I have just posted the diff as well
I tested this with TYPO3 4.3 and IE8.
The file is offered for download and saved correctly.
Can't reproduce with 4.3 in IE7
- Status changed from Resolved to Closed
Also available in: Atom
PDF