tfile:// should be handled in surf too. - surf - customized build of surf, the suckless webkit browser
(HTM) git clone git://src.adamsgaard.dk/surf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 87224dcdfa4ae66870ff404675b27c242c1ffd49
(DIR) parent d511226ea64345be7a63662cdf9c9a20fb79a6d9
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Mon, 19 Jan 2015 22:43:42 +0100
file:// should be handled in surf too.
Diffstat:
M surf.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/surf.c b/surf.c
t@@ -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);
}