Hi,

surf cannot access the about: pages since it prepends with "http://"; each uri
not containing the "://" string. The attached patch also checks for the
"about:" prefix.

The patch applies against HEAD (743fa9f3d19af8166b8466f35c464c402e31f554).


Regards,
Claudio
diff --git a/surf.c b/surf.c
index 108485b..23c49bd 100644
--- 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);
        }
 

Reply via email to