surf

Surf web browser.
git clone git://r-36.net/surf
Log | Files | Refs | README | LICENSE

commit fd6e80a2796505d97775fba4e40a943e59678f2b
parent 743fa9f3d19af8166b8466f35c464c402e31f554
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 27 Jan 2016 06:44:31 +0100

Check for about: too.

Thanks to Claudio Alessi <smoppy@gmail.com>!

Diffstat:
surf.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/surf.c b/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); }