pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d511226
)
file:// should be handled in surf too.
author
Christoph Lohmann
<20h@r-36.net>
Mon, 19 Jan 2015 21:43:42 +0000
(22:43 +0100)
committer
Christoph Lohmann
<20h@r-36.net>
Mon, 19 Jan 2015 21:43:42 +0000
(22:43 +0100)
surf.c
patch
|
blob
|
history
diff --git
a/surf.c
b/surf.c
index
3fbe743
..
43fd490
100644
(file)
--- 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);
}