[Webkit-unassigned] [Bug 91702] New: File should use getMIMETypeForExtension when guessing content type.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 18 18:35:53 PDT 2012


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

           Summary: File should use getMIMETypeForExtension when guessing
                    content type.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Events
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dcheng at chromium.org
                CC: jianli at chromium.org, kinuko at chromium.org


In r117432, kinuko merged some code together. One path was using getMIMETypeForExtension and another was using getWellKnownMIMETypeForExtension. Using the latter causes sites like youtube.com, which filter on the content-type of the dragged file, to break since the .type attribute would be empty.

(Unrelated: wouldn't it be nice if the header file for MIMETypeRegistry described the difference between the two and what a 'well known' MIME type is?)

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



More information about the webkit-unassigned mailing list