Data: is part of the browser too. - surf - surf browser, a WebKit2GTK based browser
Log
Files
Refs
README
LICENSE
---
commit 68813b3a4640dcfcbe002a1ff5803f04b9c50c06
parent 87224dcdfa4ae66870ff404675b27c242c1ffd49
Author: Christoph Lohmann <20h@r-36.net>
Date:   Mon, 19 Jan 2015 22:51:29 +0100

Data: is part of the browser too.

Diffstat:
  surf.c                              |       1 +

1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git 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);
         }