Open Bug 1079981 Opened 11 years ago Updated 3 years ago

Firefox tries to display a download instead of downloading and shows gibberish (ÐÏ à¡± á���������������)

Categories

(Firefox :: File Handling, defect)

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: alex_mayorga, Unassigned)

References

()

Details

Prerequisites: - Create a free "My Oracle Support" account over at https://profile.oracle.com/myprofile/account/create-account.jspx Steps: - Load http://www.oracle.com/technetwork/java/javase/downloads/amc-download-2255283.html - Click the "Accept License Agreement" radio button - Click "JavaAMC-1_0-windows-i586.msi" - Log in with the account created on the prerequisites Result: Firefox tries to display the download instead of downloading and shows gibberish (ÐÏࡱá���������������) Expected result: "JavaAMC-1_0-windows-i586.msi" is downloaded Works on Chromium.
can you post the http headers for the file ? this is very likely just a server bug because it send the file as text/plain
¡Hola Matthias! How do I "post the http headers for the file"?
Flags: needinfo?(bugzilla)
(In reply to alex_mayorga from comment #0) > Works on Chromium. IIRC Chromium doesn't trust the server, instead it tries to sniff the file type, and that might explain why it works there. Comment 1 is very likely.
Here is an example URL that I created 10 years ago for bug triage. This URL should show gibberisch and every browser that presents a download dialog is broken ! - http://mversen.de/mozilla/text/mozilla.rar >How do I "post the http headers for the file"? For public URLs you can use as example http://web-sniffer.net to see the http response header. For my example URL above you should see this in the output: "Content-Type: text/html" Your download is not public due to a required login. You can use a Network sniffer like Wireshark create a Mozilla http log or use the integrated Developer tools /Network tab). The last option seems to be the easiest one. Do not forget to clear the browser cache before trying to generate useful outout.
Flags: needinfo?(bugzilla)
This issue is causing hang and overusing RAM in bug 1210236 filed by me.
Blocks: 1210236
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.