From: John Keeping Date: Sun, 12 Jan 2014 19:45:17 +0000 (+0000) Subject: ui-repolist: HTML-escape cgit_rooturl() response X-Git-Tag: v0.10~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1de6591159cfe2e0cb442d781c0a360e4928ccca;p=cgit ui-repolist: HTML-escape cgit_rooturl() response This is for consistency with other callers. The value returned from cgit_rooturl is not guaranteed to be HTML-safe. Signed-off-by: John Keeping --- diff --git a/ui-repolist.c b/ui-repolist.c index f622a01..7b1fec3 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -106,7 +106,9 @@ static int is_in_url(struct cgit_repo *repo) static void print_sort_header(const char *title, const char *sort) { - htmlf("