diff options
author | Christoph Lohmann <20h@r-36.net> | 2015-01-19 22:43:42 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2015-01-19 22:43:42 +0100 |
commit | 87224dcdfa4ae66870ff404675b27c242c1ffd49 (patch) | |
tree | a00bc7976caded225773d3a4268d03541effe079 /surf.c | |
parent | d511226ea64345be7a63662cdf9c9a20fb79a6d9 (diff) | |
download | surf-87224dcdfa4ae66870ff404675b27c242c1ffd49.tar.gz surf-87224dcdfa4ae66870ff404675b27c242c1ffd49.tar.bz2 surf-87224dcdfa4ae66870ff404675b27c242c1ffd49.zip |
file:// should be handled in surf too.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |