file:// should be handled in surf too.
This commit is contained in:
parent
d511226ea6
commit
87224dcdfa
1
surf.c
1
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue