diff options
author | Christoph Lohmann <20h@r-36.net> | 2016-01-27 06:44:31 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2016-01-27 06:44:31 +0100 |
commit | fd6e80a2796505d97775fba4e40a943e59678f2b (patch) | |
tree | 9df620e042bacefb8761ea69d73488ef75dce0e7 /surf.c | |
parent | 743fa9f3d19af8166b8466f35c464c402e31f554 (diff) | |
download | surf-fd6e80a2796505d97775fba4e40a943e59678f2b.tar.gz surf-fd6e80a2796505d97775fba4e40a943e59678f2b.tar.bz2 surf-fd6e80a2796505d97775fba4e40a943e59678f2b.zip |
Check for about: too.
Thanks to Claudio Alessi <smoppy@gmail.com>!
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |