[Webkit-unassigned] [Bug 46968] [Qt] QWebPage MIME type handling inconsistency with other web browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 1 09:10:51 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=46968


Luiz Agostini <luiz at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luiz at webkit.org




--- Comment #6 from Luiz Agostini <luiz at webkit.org>  2011-03-01 09:10:51 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > Giving it P2, this is quite bad.
> 
> My thinking on this was to introduce a set of functions in QNetworkReplyHandler or utility function in WebCoreSupport that sniff for HTML content when the Content-Type header is empty. This isn't full on mime-type sniffing but it resolves this bug and might be a good way to dip our toe in the water.
> 
> I'm also not totally sure that sniffing should happen in QNAM - maybe actual content versus content reported in headers is something only QtWebKit should worry about. Putting in QNAM seems like a bit of a layering violation, I'm not sure.
> 
> I'd like to solve this bug so thoughts on the right place to put the solution welcome!

I agree that the sniffing should not be in QNAM. Robert, do you plan to work on this issue soon?

-- 
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