[Webkit-unassigned] [Bug 19794] New: [GTK] MIMETypeRegistry::getMIMETypeForPath returning empty strings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 27 11:48:02 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=19794
Summary: [GTK] MIMETypeRegistry::getMIMETypeForPath returning
empty strings
Product: WebKit
Version: 526+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: marco.barisione at collabora.co.uk
MIMETypeRegistry::getMIMETypeForPath returns empty strings if the extension is
not known. This also causes a crash because of the CURL backend setting the
mime type to an empty string if the local file has an unknown extension.
>From the code using the function and in particular from the comment in
FrameLoaderClient::objectContentType() I think that the right behaviour is that
getMIMETypeForPath should return "application/octet-stream" upon failure, while
getMIMETypeForExtension should return an empty string.
--
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