Check for about: too.
Thanks to Claudio Alessi <smoppy@gmail.com>!
This commit is contained in:
parent
743fa9f3d1
commit
fd6e80a279
1 changed files with 1 additions and 1 deletions
2
surf.c
2
surf.c
|
@ -840,7 +840,7 @@ loaduri(Client *c, const Arg *arg)
|
|||
u = g_strdup_printf("file://%s", rp);
|
||||
free(rp);
|
||||
} else {
|
||||
u = g_strrstr(uri, "://") ? g_strdup(uri)
|
||||
u = g_strrstr(uri, "://") || g_str_has_prefix(uri, "about:") ? g_strdup(uri)
|
||||
: g_strdup_printf("http://%s", uri);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue