Bug 103056 - [Qt] Guess mime-type by full filename
Summary: [Qt] Guess mime-type by full filename
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Allan Sandfeld Jensen
URL:
Keywords:
Depends on: 102667
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-22 04:51 PST by Allan Sandfeld Jensen
Modified: 2014-02-03 03:23 PST (History)
7 users (show)

See Also:


Attachments
Patch (11.93 KB, patch)
2012-11-22 06:13 PST, Allan Sandfeld Jensen
no flags Details | Formatted Diff | Diff
Patch (11.93 KB, patch)
2012-11-22 06:37 PST, Allan Sandfeld Jensen
no flags Details | Formatted Diff | Diff
Patch (13.93 KB, patch)
2012-11-29 04:40 PST, Allan Sandfeld Jensen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Sandfeld Jensen 2012-11-22 04:51:24 PST
To support common multipart unix extensions such as .tar.gz, we need to be able guess mimetypes for files on more than just the last suffix. To begin with this will only make a difference for the Qt port since the common implementation of getMIMETypeForPath only looks up the mimetype using the last extension anyway.
Comment 1 Allan Sandfeld Jensen 2012-11-22 06:13:37 PST
Created attachment 175657 [details]
Patch
Comment 2 EFL EWS Bot 2012-11-22 06:18:57 PST
Comment on attachment 175657 [details]
Patch

Attachment 175657 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/14965349
Comment 3 Allan Sandfeld Jensen 2012-11-22 06:37:12 PST
Created attachment 175663 [details]
Patch

fix typo
Comment 4 Peter Beverloo (cr-android ews) 2012-11-22 09:18:10 PST
Comment on attachment 175663 [details]
Patch

Attachment 175663 [details] did not pass cr-android-ews (chromium-android):
Output: http://queues.webkit.org/results/14960404
Comment 5 Allan Sandfeld Jensen 2012-11-22 09:41:58 PST
Comment on attachment 175663 [details]
Patch

Will not work for chromium.
Comment 6 WebKit Review Bot 2012-11-22 12:26:27 PST
Comment on attachment 175663 [details]
Patch

Attachment 175663 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/14969477
Comment 7 Allan Sandfeld Jensen 2012-11-29 04:40:57 PST
Created attachment 176702 [details]
Patch
Comment 8 Anders Carlsson 2013-10-02 21:17:54 PDT
Comment on attachment 176702 [details]
Patch

Qt has been removed, clearing review flags.
Comment 9 Jocelyn Turcotte 2014-02-03 03:23:41 PST
=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.