summaryrefslogtreecommitdiffstats
path: root/surf.c
diff options
context:
space:
mode:
authorGravatar Christoph Lohmann 2015-01-19 22:43:42 +0100
committerGravatar Christoph Lohmann 2015-01-19 22:43:42 +0100
commit87224dcdfa4ae66870ff404675b27c242c1ffd49 (patch)
treea00bc7976caded225773d3a4268d03541effe079 /surf.c
parentRemove the debugging from the testing. (diff)
file:// should be handled in surf too.
Diffstat (limited to '')
-rw-r--r--surf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/surf.c b/surf.c
index 3fbe743..43fd490 100644
--- a/surf.c
+++ b/surf.c
@@ -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);
}