Closed
Bug 107678
Opened 23 years ago
Closed 23 years ago
cannot set mime-type in browser prefs
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 109236
People
(Reporter: bobj, Assigned: law)
Details
Cannot set up mime-types via the browser prefs. It seems that you need
to also set up the Windows file type to make these work.
Running:
Mozilla/5.0 (Windows; U; Win95; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
Selected Edit|Preferences|Navigator|Helper Applications menu
Clicked on New Type...
Created a text file with the contents
"contents of foo.foo"
and saved the file with the name: "foo.foo"
Opened the local file , "foo.foo" in the browser.
Expected: Downloading foo.foo dialog which would ask if I want the file
opened by the executable or saved to disk.
Actual: Opened foo.foo as a text file and displayed its contents in
a browser window.
However, after created a new file type in the Windows File Explorer,
this worked. I opened the File Explorer, and then:
Selected the View|Options... menu
Selected the File Types tab
Clicked on New Type...
Entered the following:
Description of type: Foo file
Associated extension: foo
Content type(MIME): application/foo
Default extension for content type: .foo (automatically filled in)
Actions:
<left blank>
.
Assignee: asa → law
Component: Browser-General → File Handling
QA Contact: doronr → sairuh
Comment 2•23 years ago
|
||
bill sez this should go to networking:file.
this is because content sniffing overrides content-type for local files.
Comment 3•23 years ago
|
||
this time. really.
Assignee: law → dougt
Component: File Handling → Networking: File
QA Contact: sairuh → benc
Comment 4•23 years ago
|
||
helper apps problem. file api has fuctions to do this.
Assignee: dougt → pchen
Component: Networking: File → XP Apps
QA Contact: benc → sairuh
Making this a dup of bug 109236, since that one has a patch.
*** This bug has been marked as a duplicate of 109236 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
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
•