summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-01-19 22:51:29 +0100
committerChristoph Lohmann <20h@r-36.net>2015-01-19 22:51:29 +0100
commit68813b3a4640dcfcbe002a1ff5803f04b9c50c06 (patch)
treefe63766ac14cfce58c7deba1e62baf1da434361a /surf.c
parent87224dcdfa4ae66870ff404675b27c242c1ffd49 (diff)
downloadsurf-68813b3a4640dcfcbe002a1ff5803f04b9c50c06.tar.gz
surf-68813b3a4640dcfcbe002a1ff5803f04b9c50c06.tar.bz2
surf-68813b3a4640dcfcbe002a1ff5803f04b9c50c06.zip
Data: is part of the browser too.
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 43fd490..42dbf21 100644
--- 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);
}