From: Christoph Lohmann <20h@r-36.net> Date: Tue, 20 Jan 2015 00:59:53 +0000 (+0100) Subject: Oh my blob! X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=d4e31d9472ec2f4ec9e44ad56926ee4cfed157ee;p=surf.git Oh my blob! Adding blob: to the URIS handled by the browser. --- diff --git a/surf.c b/surf.c index 42dbf21..ce8fce8 100644 --- 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); }