Closed
Bug 86531
Opened 24 years ago
Closed 23 years ago
unchecked "ask me before opening downloaded files of this type" not respected when "save to disk" is default action
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
People
(Reporter: MozillaUser, Assigned: law)
References
()
Details
Observed on Windows 95 and Windows 98 with Build 2001061804 (and other recent builds over the past week) Set up a helper application for mime type application/x-zip-compressed make the default action "Save to Disk" and make sure that "ask me before opening downloaded files of this type" is NOT checked Attempt to download any ZIP file, for example, http://HamsterRepublic.com/dl/wh_demo.zip The expected behavior would be to immediately pop up the dialog that asks you where you want to put the file on your hard drive. The actual behavior is that it pops the "What should Mozilla do with this file" dialog This is a fairly recent regression, within the past week or two. It was working before.
The problem is that your system might use a different mimetype like "application/x-compressed". Did you recently installed a new zip/unzip utility?
Reporter | ||
Comment 2•24 years ago
|
||
My currently registered unzipping program is FastZip 2001, which I installed on February 14th. I have not changed it since, and Mozilla WAS working correctly inbetweentime I check this out a little more, and here is what appears to be happening: The server hamsterrepublic.com is sending a mime type of "application/zip" for .zip files. I have verified this by grabbing the raw headers. _if_ have a helper application set up for application/zip (I did not yesterday when I reported this) then mozilla correctly obeys the settings for the helper app. but when there is no such helper appfor application/zip then Mozilla looks up the mimetype in the windows registry according to the file extension .zip What it finds there is the mime type that FastZip 2001 set, which is "application/x-zip-compressed" I do (and did) have a helper application set up in Mozilla for application/x-zip-compressed but mozilla ignores it, and asks me what I want to do with the file.
Confirmed on Win98 using build 2001061804 win32 In this case Mozilla is actually matching the file extension and not the mime type. Should mozilla trust the file extention this way? I think mozilla should display and use the actual mime type used by the webserver and not the mime type found in the windows registry that matches the file extension.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 6•24 years ago
|
||
I don't think that this is a dup of bug 46655. We are getting the correct mime type, it is just ignoring the helper application setting in the case of application/x-zip-compressed, application/x-zip-compressed and application/x-tar seem to work. I have not tested with applications of the form application/x-gzip-compressed, as all gzipped files that I have found have gzip as content encoding and report their uncompressed mime type. This makes selecting a helper file for tar files problematic.
Reporter | ||
Comment 8•24 years ago
|
||
dependancy sounds sounds right. Lets wait and see what happens to these symptoms after bug 78943 gets fixed.
on linux, moz does not honor it if i uncheck the "Ask before opening..." box in a mimetypes edit-box. Also reported in bug 98115. Changing OS to all.
OS: Windows 98 → All
Hardware: PC → All
Assignee | ||
Comment 12•23 years ago
|
||
This looks to be the same bug as 78943. *** This bug has been marked as a duplicate of 78943 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•