Skip to content

xdgmime: Fix broken file:// content type lookups for webkitgtk

Philip Withnall requested to merge pwithnall/glib:2639-xdgmime-fix into main

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)

Closes #2639 (closed)

Merge request reports

Loading