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)

x86
Windows 2000
defect

Tracking

()

VERIFIED DUPLICATE of bug 60737

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
Isn't "Content-Type: unknown" illegal?
Summary: Unknown filetype is sending content-type "unknown" → Mozilla is sending "Content-Type: unknown" when uploading unknown filetype
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
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
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.