mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-06 11:00:57 +01:00
This re-applies a chunk from commit e63262d49d40a36060 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 a1bfe899abe, 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