summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--browser.c3
2 files changed, 5 insertions, 1 deletions
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);