Bug 51292 - [Qt] No way to prevent QtWebKit from handling text/plain mime-type...
Summary: [Qt] No way to prevent QtWebKit from handling text/plain mime-type...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
Keywords: Qt, QtTriaged
Depends on:
Reported: 2010-12-18 11:01 PST by Dawit A.
Modified: 2014-02-03 03:17 PST (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Dawit A. 2010-12-18 11:01:16 PST
QtWebKit automatically handles content of type text/plain without giving clients the ability to disable this functionality. This results in the prefferred mime-type assocations being ignored as shown in the following downstream report: https://bugs.kde.org/show_bug.cgi?id=242417
Comment 1 Benjamin Poulain 2010-12-18 13:10:26 PST
This is definitely not a P1.

Any suggestion for an API?

void QWebPage::removeSupportedContentType(const QString &) ?

I think your patch for https://bugs.webkit.org/show_bug.cgi?id=37880 is not in any release yet, maybe this should be moved to QSettings?
Comment 2 Jocelyn Turcotte 2014-02-03 03:17:03 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.