Bug 30433

Summary: Chrome doesn't set Content-Type for file upload when the file extension is not recognized
Product: WebKit Reporter: Adam Barth <abarth>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: fishd
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch v1
none
Patch v1 none

Description Adam Barth 2009-10-16 01:14:30 PDT
http://code.google.com/p/chromium/issues/detail?id=6800

Patch forthcoming, but I haven't the foggiest idea how to write a test case.
Comment 1 Adam Barth 2009-10-16 01:18:29 PDT
Created attachment 41275 [details]
Patch v1
Comment 2 Adam Barth 2009-10-16 01:20:13 PDT
Created attachment 41276 [details]
Patch v1
Comment 3 Mark Rowe (bdash) 2009-10-16 03:15:20 PDT
Comment on attachment 41276 [details]
Patch v1

> Index: WebCore/platform/chromium/MimeTypeRegistryChromium.cpp

It’s sad that this file doesn’t match the case used in the name of the class and in the equivalent files used by other platforms.

r=me
Comment 4 Adam Barth 2009-10-16 09:20:40 PDT
Comment on attachment 41276 [details]
Patch v1

Clearing flags on attachment: 41276

Committed r49682: <http://trac.webkit.org/changeset/49682>
Comment 5 Adam Barth 2009-10-16 09:20:45 PDT
All reviewed patches have been landed.  Closing bug.