Unexpected g_content_type_is_mime_type result on macOS
With the latest version of glib
, the following test fails on macOS:
#include <glib.h>
#include <gio/gio.h>
int main(int argc, char *argv[]) {
g_assert_true(g_content_type_is_mime_type("application/pdf", "application/pdf"));
return 0;
}
This has led to Evince becoming unusable as it will refuse to open PDFs:
Which can be traced back to the code at https://gitlab.gnome.org/GNOME/evince/blob/712edc34ee8b74967a4a3a13f0be983f397f060e/libdocument/ev-document-factory.c#L61