[Webkit-unassigned] [Bug 20726] New: File upload failing to set Content-Type: application/octet-stream

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 8 07:38:21 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20726

           Summary: File upload failing to set Content-Type:
                    application/octet-stream
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
               URL: http://code.google.com/p/chromium/issues/detail?id=1269
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mlschneider at bucketofbolts.net


Submitting an
  input type="file"
with an unknown binary file type results in the server not handling the file
correctly.

This appears to be an issue on Windows where
MIMETypeRegistry::getMIMETypeForExtension doesn't return a default of
"application/octet-stream" when the MIME type is unknown.

This results in no Content-Type line being sent to the server, which in turn
keeps the server from processing the file properly.

The file type that originally experienced this issue was a dbase III+ dbf. See
the url for a sample file.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list