]> git.armaanb.net Git - chorizo.git/commitdiff
Allow webkit:// in URLs
authorPeter Hofmann <scm@uninformativ.de>
Sat, 2 May 2020 18:37:15 +0000 (20:37 +0200)
committerPeter Hofmann <scm@uninformativ.de>
Sat, 2 May 2020 18:37:15 +0000 (20:37 +0200)
CHANGES
browser.c

diff --git a/CHANGES b/CHANGES
index 2255781898031a4ad863e2833ecb5a1221d05557..093fa0d68b9231f3cf5d70e8ba23b0e735e1b29c 100644 (file)
--- 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/
 
     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.
 v20.04  2020-04-22
   [Fixed]
   - Minor fixes to manpages.
index 0185daa1b67e454e5b6951e8e2ce59075df8bd82..8df0e330777700e743a953d9cd7123db95e30109 100644 (file)
--- 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, "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);
     {
         g_free(f);
         fabs = realpath(t, NULL);