Closed
Bug 59411
Opened 24 years ago
Closed 24 years ago
Mozilla is sending "Content-Type: unknown" when uploading unknown filetype
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: bugzilla, Assigned: rods)
References
()
Details
If you go to:
http://gemal.dk/browserspy/upload.html
and upload a file fx called c:\temp\adr.ldif
and you dont have any program that uses the extension .ldif thereby making it a
"unknown" file type in Windows
you'll get the following info with Mozilla:
Content-Type = unknown
But with Netscape 4.x you dont get any content type.
With IE you get
Content-Type = text/plain
since IE seems to be doing some file sniffing.
The file adr.ldif is a exported ldif text file from the adress book in Netscape 4.x
Reporter | ||
Comment 1•24 years ago
|
||
Isn't "Content-Type: unknown" illegal?
Summary: Unknown filetype is sending content-type "unknown" → Mozilla is sending "Content-Type: unknown" when uploading unknown filetype
Comment 2•24 years ago
|
||
This is a duplicate. It's been fixed recently.
And there are thoughts on using a byte-scanner to determine the mime-type if
it's not known.
*** This bug has been marked as a duplicate of 60737 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•24 years ago
|
||
verified dup. It works now..
"unknown" files get's uploaded as "application/octet-stream".
New bug about byte-scanning:
http://bugzilla.mozilla.org/show_bug.cgi?id=61855
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•