projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a73540
)
data: URIs work.
author
Tom Adams
<tom@holizz.com>
Fri, 5 Jun 2009 21:44:49 +0000
(22:44 +0100)
committer
Dieter Plaetinck
<dieter@plaetinck.be>
Sat, 6 Jun 2009 17:46:06 +0000
(19:46 +0200)
uzbl.c
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
c53e255
..
a1f1bab
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-735,7
+735,7
@@
load_uri (WebKitWebView *web_view, GArray *argv) {
run_js(web_view, argv);
return;
}
- if (g_strrstr (argv_idx(argv, 0), "://") == NULL)
+ if (g_strrstr (argv_idx(argv, 0), "://") == NULL && g_strstr_len (argv_idx(argv, 0), 5, "data:") == NULL)
g_string_prepend (newuri, "http://");
/* if we do handle cookies, ask our handler for them */
webkit_web_view_load_uri (web_view, newuri->str);