Skip to content

Backport !2708 “xdgmime: Fix broken file:// content type lookups for webkitgtk” to glib-2-72

This re-applies a chunk from commit e63262d4 which was accidentally lost when upstreaming the commit to xdgmime (as https://gitlab.freedesktop.org/xdg/xdgmime/-/merge_requests/10).

The upstreamed commit was then re-backported to GLib as a1bfe899, without the missing chunk.

The missing chunk is potentially causing incorrect content type results for file:// URIs when used from webkitgtk.

Thanks to Stephen Jung and Michael Catanzaro for investigating.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #2639 (closed)


Trivial backport of !2708 (merged) to glib-2-72.

Merge request reports