[hackers] [surf] file:// should be handled in surf too. || Christoph Lohmann
commit 87224dcdfa4ae66870ff404675b27c242c1ffd49
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Mon Jan 19 22:43:42 2015 +0100
file:// should be handled in surf too.
diff --git a/surf.c b/surf.c
index 3fbe743..43fd490 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -220,6 +220,7 @@ beforerequest(WebKitWebView *w, WebKitWebFrame *f, WebKitWebResource *r,
if(!g_str_has_prefix(uri, "http://") \
&& !g_str_has_prefix(uri, "https://") \
&& !g_str_has_prefix(uri, "about:") \
+ && !g_str_has_prefix(uri, "file://") \
&& strlen(uri) > 0) {
handleplumb(c, w, uri);
}
Received on Mon Jan 19 2015 - 22:43:55 CET
This archive was generated by hypermail 2.3.0
: Mon Jan 19 2015 - 22:48:10 CET