WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
Bug 238347
[GTK] glib2 2.72.0 causes file:// requests to fail
https://bugs.webkit.org/show_bug.cgi?id=238347
Summary
[GTK] glib2 2.72.0 causes file:// requests to fail
tummychow511
Reported
2022-03-24 13:51:45 PDT
https://github.com/johnfactotum/foliate/issues/878#issuecomment-1078226390
WebKitGTK 2.36.0 plus glib2 2.72.0 is unable to fetch file:// URIs (see example in link above). Downgrading to glib2 2.70.4 fixes the issue. I really don't know anything about WebKitGTK so I don't have much more context to offer, but I'm happy to run examples/tests. Maybe this is an upstream bug for glib2 instead?
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2022-05-06 12:24:09 PDT
In
bug #230797
, Pierre discovered the problem is caused by GLib updating xdg-mime. There is a GLib bug:
https://gitlab.gnome.org/GNOME/glib/-/issues/2639
Michael Catanzaro
Comment 2
2022-06-01 08:27:18 PDT
(In reply to Michael Catanzaro from
comment #1
)
> There is a GLib bug:
https://gitlab.gnome.org/GNOME/glib/-/issues/2639
Moved here. Should be fixed in GLib master.
Michael Catanzaro
Comment 3
2022-06-01 08:28:04 PDT
Although nobody tested the GLib fix. tummychow, if you have time and ability to compile glib, would be helpful if you could check that.
Pierre Labastie
Comment 4
2022-06-01 09:11:19 PDT
I can confirm that glib commit 05755f2fb fixes the issue for me.
tummychow511
Comment 5
2022-06-01 11:25:16 PDT
Can confirm the upstream fix also works for me.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug