diff options
author | lookshe <github@lookshe.org> | 2016-02-01 13:36:03 +0100 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2016-02-01 13:36:03 +0100 |
commit | fbcdeeb500586d86e829e87f6cdc92cfec81e30e (patch) | |
tree | 611a84850c40e9272026f0a73fb1dfe9fa2ea342 | |
parent | 36a1d663a66e0e6226d55f477287578d867c6fb8 (diff) |
escaped author link
-rw-r--r-- | ui-shared.c | 3 |
1 files changed, 2 insertions, 1 deletions
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("</a>"); |