Data: is part of the browser too.
authorChristoph Lohmann <20h@r-36.net>
Mon, 19 Jan 2015 21:51:29 +0000 (22:51 +0100)
committerChristoph Lohmann <20h@r-36.net>
Mon, 19 Jan 2015 21:51:29 +0000 (22:51 +0100)
surf.c

diff --git a/surf.c b/surf.c
index 43fd490..42dbf21 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -221,6 +221,7 @@ beforerequest(WebKitWebView *w, WebKitWebFrame *f, WebKitWebResource *r,
                        && !g_str_has_prefix(uri, "https://") \
                        && !g_str_has_prefix(uri, "about:") \
                        && !g_str_has_prefix(uri, "file://") \
+                       && !g_str_has_prefix(uri, "data:") \
                        && strlen(uri) > 0) {
                handleplumb(c, w, uri);
        }