[hackers] [surf] Oh my blob! || Christoph Lohmann
commit d4e31d9472ec2f4ec9e44ad56926ee4cfed157ee
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Tue Jan 20 01:59:53 2015 +0100
Oh my blob!
Adding blob: to the URIS handled by the browser.
diff --git a/surf.c b/surf.c
index 42dbf21..ce8fce8 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -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);
}
Received on Tue Jan 20 2015 - 02:00:15 CET
This archive was generated by hypermail 2.3.0
: Tue Jan 20 2015 - 02:12:09 CET