file:// should be handled in surf too.
This commit is contained in:
parent
d511226ea6
commit
87224dcdfa
1 changed files with 1 additions and 0 deletions
1
surf.c
1
surf.c
|
@ -220,6 +220,7 @@ beforerequest(WebKitWebView *w, WebKitWebFrame *f, WebKitWebResource *r,
|
||||||
if(!g_str_has_prefix(uri, "http://") \
|
if(!g_str_has_prefix(uri, "http://") \
|
||||||
&& !g_str_has_prefix(uri, "https://") \
|
&& !g_str_has_prefix(uri, "https://") \
|
||||||
&& !g_str_has_prefix(uri, "about:") \
|
&& !g_str_has_prefix(uri, "about:") \
|
||||||
|
&& !g_str_has_prefix(uri, "file://") \
|
||||||
&& strlen(uri) > 0) {
|
&& strlen(uri) > 0) {
|
||||||
handleplumb(c, w, uri);
|
handleplumb(c, w, uri);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue