aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2016-02-01 13:36:03 +0100
committerlookshe <github@lookshe.org>2016-02-01 13:36:03 +0100
commitfbcdeeb500586d86e829e87f6cdc92cfec81e30e (patch)
tree611a84850c40e9272026f0a73fb1dfe9fa2ea342
parent36a1d663a66e0e6226d55f477287578d867c6fb8 (diff)
escaped author link
-rw-r--r--ui-shared.c3
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&amp;q=%s", author);
+ htmlf("qt=author&amp;q=");
+ html_url_arg(author);
html("'>");
html_txt(author);
html("</a>");