Data: is part of the browser too.

This commit is contained in:
Christoph Lohmann 2015-01-19 22:51:29 +01:00
parent 87224dcdfa
commit 68813b3a46
1 changed files with 1 additions and 0 deletions

1
surf.c
View File

@ -221,6 +221,7 @@ beforerequest(WebKitWebView *w, WebKitWebFrame *f, WebKitWebResource *r,
&& !g_str_has_prefix(uri, "https://") \ && !g_str_has_prefix(uri, "https://") \
&& !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:") \
&& strlen(uri) > 0) { && strlen(uri) > 0) {
handleplumb(c, w, uri); handleplumb(c, w, uri);
} }