From fbcdeeb500586d86e829e87f6cdc92cfec81e30e Mon Sep 17 00:00:00 2001 From: lookshe Date: Mon, 1 Feb 2016 13:36:03 +0100 Subject: escaped author link --- ui-shared.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui-shared.c b/ui-shared.c index 037d250..0c300be 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -1111,7 +1111,8 @@ extern void cgit_author_link(char *author) delim = repolink(NULL, NULL, "log", NULL, NULL); html(delim); - htmlf("qt=author&q=%s", author); + htmlf("qt=author&q="); + html_url_arg(author); html("'>"); html_txt(author); html(""); -- cgit v1.2.3