From: Peter Hofmann Date: Sat, 2 May 2020 18:37:15 +0000 (+0200) Subject: Allow webkit:// in URLs X-Git-Tag: v1.0.0~68 X-Git-Url: https://git.armaanb.net/?p=chorizo.git;a=commitdiff_plain;h=8720c4df27e449f88ebecfb086cd6ae79a363420 Allow webkit:// in URLs --- diff --git a/CHANGES b/CHANGES index 2255781..093fa0d 100644 --- a/CHANGES +++ b/CHANGES @@ -16,6 +16,9 @@ next to run at least WebKitGTK 2.26 (released 2019-09-09). See also: https://blogs.gnome.org/mcatanzaro/2020/03/31/sandboxing-webkitgtk-apps/ + [Added] + - Allow webkit:// in URLs. + v20.04 2020-04-22 [Fixed] - Minor fixes to manpages. diff --git a/browser.c b/browser.c index 0185daa..8df0e33 100644 --- a/browser.c +++ b/browser.c @@ -632,7 +632,8 @@ ensure_uri_scheme(const gchar *t) !g_str_has_prefix(f, "https:") && !g_str_has_prefix(f, "file:") && !g_str_has_prefix(f, "about:") && - !g_str_has_prefix(f, "data:")) + !g_str_has_prefix(f, "data:") && + !g_str_has_prefix(f, "webkit:")) { g_free(f); fabs = realpath(t, NULL);