]> git.cameronkatri.com Git - cgit.git/commitdiff
ui-summary: use html_url_path()
authorLars Hjemli <hjemli@gmail.com>
Sun, 5 Oct 2008 19:21:42 +0000 (21:21 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sun, 5 Oct 2008 19:21:42 +0000 (21:21 +0200)
This makes the clone urls be properly escaped.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-summary.c

index 29e15443eddf110ac889f15b40c14da3fcdc2861..ede4a629765e4d58314d6c78e408159ef3dfddab 100644 (file)
@@ -24,7 +24,7 @@ static void print_url(char *base, char *suffix)
        if (suffix && *suffix)
                base = fmt("%s/%s", base, suffix);
        html("<tr><td colspan='4'><a href='");
-       html_attr(base);
+       html_url_path(base);
        html("'>");
        html_txt(base);
        html("</a></td></tr>\n");