Oh my blob!
authorChristoph Lohmann <20h@r-36.net>
Tue, 20 Jan 2015 00:59:53 +0000 (01:59 +0100)
committerChristoph Lohmann <20h@r-36.net>
Tue, 20 Jan 2015 00:59:53 +0000 (01:59 +0100)
Adding blob: to the URIS handled by the browser.

surf.c

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