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)

x86
Windows XP
defect
Not set
normal

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
Whiteboard: DUPEME
QA Contact: sairuh → petersen
*** This bug has been marked as a duplicate of 146781 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
This is actually a dupe of bug 65827 since the ".php" filename-extension is being appended rather than substituted.
Whiteboard: DUPEME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.