From d1a6ece439e651a5b4ca535850e1c471f61c472e Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sun, 12 Jan 2014 19:45:15 +0000 Subject: ui-refs: escape HTML chars in author and tagger names Everywhere else we use html_txt to escape any special characters in these variables. Do so here as well. Signed-off-by: John Keeping --- ui-refs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui-refs.c') diff --git a/ui-refs.c b/ui-refs.c index 20c91e3..c97b0c6 100644 --- a/ui-refs.c +++ b/ui-refs.c @@ -155,9 +155,9 @@ static int print_tag(struct refinfo *ref) html(""); if (info) { if (info->tagger) - html(info->tagger); + html_txt(info->tagger); } else if (ref->object->type == OBJ_COMMIT) { - html(ref->commit->author); + html_txt(ref->commit->author); } html(""); if (info) { -- cgit v1.2.3-24-g4f1b