Oh my blob!

Adding blob: to the URIS handled by the browser.
This commit is contained in:
Christoph Lohmann 2015-01-20 01:59:53 +01:00
parent 68813b3a46
commit d4e31d9472

1
surf.c
View File

@ -222,6 +222,7 @@ beforerequest(WebKitWebView *w, WebKitWebFrame *f, WebKitWebResource *r,
&& !g_str_has_prefix(uri, "about:") \ && !g_str_has_prefix(uri, "about:") \
&& !g_str_has_prefix(uri, "file://") \ && !g_str_has_prefix(uri, "file://") \
&& !g_str_has_prefix(uri, "data:") \ && !g_str_has_prefix(uri, "data:") \
&& !g_str_has_prefix(uri, "blob:") \
&& strlen(uri) > 0) { && strlen(uri) > 0) {
handleplumb(c, w, uri); handleplumb(c, w, uri);
} }