Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Extension Manager
Target version:
-
Start date:
2007-01-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

class.em_index.php (213 KB) class.em_index.php Administrator Admin, 2007-03-13 11:30
em_index.diff (844 Bytes) em_index.diff Administrator Admin, 2007-03-26 11:30
Actions #1

Updated by Alban Cousinie over 17 years ago

This issue is still present in Typo3 4.1

Actions #2

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;

Actions #3

Updated by Alban Cousinie over 17 years ago

I have just posted the diff as well

Actions #4

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.

Actions #5

Updated by Steffen Gebert almost 15 years ago

Can't reproduce with 4.3 in IE7

Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF