summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-01-20 01:59:53 +0100
committerChristoph Lohmann <20h@r-36.net>2015-01-20 01:59:53 +0100
commitd4e31d9472ec2f4ec9e44ad56926ee4cfed157ee (patch)
treeea37793bddffc900dd2976ca9c4fd6ddbcf7af82 /surf.c
parent68813b3a4640dcfcbe002a1ff5803f04b9c50c06 (diff)
downloadsurf-d4e31d9472ec2f4ec9e44ad56926ee4cfed157ee.tar.gz
surf-d4e31d9472ec2f4ec9e44ad56926ee4cfed157ee.tar.bz2
surf-d4e31d9472ec2f4ec9e44ad56926ee4cfed157ee.zip
Oh my blob!
Adding blob: to the URIS handled by the browser.
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c1
1 files changed, 1 insertions, 0 deletions
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);
}