Closed
Bug 170239
Opened 22 years ago
Closed 22 years ago
Download of an exe file through a PHP script (most likely a Location: redirect) causes file to download with wrong extention
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 146781
People
(Reporter: raccettura, Assigned: law)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826
Downloading the file creates a .php on the users computer rather than a .exe as
it should. I believe this a either a mimetype error resulting from the browser
using the mime type based on the extention ".php" of the requested URL and not
noticing the Location: redirect that the php script gives.
Reproducible: Always
Steps to Reproduce:
1. Visit
http://www.stumbler.net/download.php?site=1&filename=NetStumblerInstaller_0_3_30.exe
2. Check the file downoaded
Actual Results:
Download is a .php file rather than .exe
![]() |
||
Updated•22 years ago
|
Whiteboard: DUPEME
Updated•22 years ago
|
QA Contact: sairuh → petersen
Comment 1•22 years ago
|
||
Confirmed on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a)
Gecko/20021115,
in my case at
http://www.fileconnect.net/modules.php?name=News&file=article&sid=2869
http://www.fileconnect.net/download.php?ok=ok&language=english&filepath=Utils%2Fkazaa%2Fklite202e.exe
Comment 2•22 years ago
|
||
*** This bug has been marked as a duplicate of 146781 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 3•22 years ago
|
||
This is actually a dupe of bug 65827 since the ".php" filename-extension is
being appended rather than substituted.
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•