summaryrefslogtreecommitdiff
path: root/browser.c
diff options
context:
space:
mode:
authorPeter Hofmann <scm@uninformativ.de>2020-05-02 20:37:15 +0200
committerPeter Hofmann <scm@uninformativ.de>2020-05-02 20:37:15 +0200
commit8720c4df27e449f88ebecfb086cd6ae79a363420 (patch)
treebc4ed1517738fa88ea2e802827e1bc84f53836d0 /browser.c
parent657ebd4b1beacb11617fb098fa3fc0acd3bff1c6 (diff)
downloadlariza-8720c4df27e449f88ebecfb086cd6ae79a363420.tar.gz
Allow webkit:// in URLs
Diffstat (limited to 'browser.c')
-rw-r--r--browser.c3
1 files changed, 2 insertions, 1 deletions
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);