glib/gio/xdgmime
Philip Withnall 7ec351e3f4 xdgmime: Fix broken file:// content type lookups for webkitgtk
This re-applies a chunk from commit e63262d49d 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 a1bfe899ab,
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
2022-06-01 14:02:53 +01:00
..
.gitignore gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00
meson.build Force to use the config.h header file (required for HAVE_MMAP macro) 2021-09-23 11:32:02 +02:00
xdgmime.c xdgmime: Add missing S_ISREG definitions for VS2022 2021-12-23 12:35:48 +00:00
xdgmime.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimealias.c Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimealias.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimecache.c xdgmime: Fix broken file:// content type lookups for webkitgtk 2022-06-01 14:02:53 +01:00
xdgmimecache.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeglob.c Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeglob.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeicon.c Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeicon.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeint.c gio/xdgmime/: LGPLv2+ -> LGPLv2.1+ 2021-09-23 19:23:33 +02:00
xdgmimeint.h gio/xdgmime/: LGPLv2+ -> LGPLv2.1+ 2021-09-23 19:23:33 +02:00
xdgmimemagic.c xdgmime: Fix unused-variable warning 2022-01-25 20:18:41 +01:00
xdgmimemagic.h gio/xdgmime/: LGPLv2+ -> LGPLv2.1+ 2021-09-23 19:23:33 +02:00
xdgmimeparent.c Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00
xdgmimeparent.h Revert "Don't compile some unused functions in gio/xdgmime/" 2021-11-01 12:06:26 +00:00