[Webkit-unassigned] [Bug 102667] New: [Qt] Lookup mimetypes using QMimeDatabase
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 19 02:19:09 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=102667
Summary: [Qt] Lookup mimetypes using QMimeDatabase
Product: WebKit
Version: 420+
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Page Loading
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: allan.jensen at digia.com
With the recent addition of QMimeDatabase in QtCore we can get rid of the static table of mimetypes and extensions which is constantly in risk of becoming outdated and instead use QMimeDatabase which uses the system mimetype database if available.
Note that to begin with this should probably be restricted to filename detection only. Detection by content has historical had some security issues due to some loaders not verifying against context.
Benifits should be better detection of downloaded files (offers of applications), and ability to recognize common aliases for supported mimetypes.
--
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