[Webkit-unassigned] [Bug 230797] REGRESSION(r276635): [GTK] 2.34: local html file is downloaded instead of displayed. Works ok for webkitgtk-2.32.4

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 15 17:42:55 PDT 2021


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

--- Comment #5 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Michael Catanzaro from comment #4)
> Well that sucks. So g_desktop_app_info_set_as_default_for_extension() is
> sabotage if it's ever used for any extension that corresponds to a MIME type
> in the system database. I'll probably need to forward this to the GLib issue
> tracker to decide what to do but I expect we're going to need to rewrite
> g_desktop_app_info_set_as_default_for_extension().

Maybe g_desktop_app_info_set_as_default_for_extension() should only create the x-extension-foo MIME type after first checking if xdg_mime_get_mime_type_from_file_name() fails. If it returns something, modify that one instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211016/67c7ca2a/attachment.htm>


More information about the webkit-unassigned mailing list