summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Luben Tuikov <ltuikov@yahoo.com>2006-10-30 12:37:54 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-11-01 11:31:55 -0800
commit5ad0828ca33e7af402466b0e04db16c014428d1a (patch)
tree7eaf6cde2f571a65c60f9ed3151696cc55da2746
parentMerge branch 'rs/cherry' (diff)
downloadtgif-5ad0828ca33e7af402466b0e04db16c014428d1a.tar.xz
gitweb: esc_html() author in blame
Blame fails for example on block/ll_rw_blk.c at v2.6.19-rc3. Signed-off-by: Luben Tuikov <ltuikov@yahoo.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index ec46b8091b..bfadbe25c6 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -2659,7 +2659,7 @@ HTML
print "<tr class=\"$rev_color[$current_color]\">\n";
if ($group_size) {
print "<td class=\"sha1\"";
- print " title=\"$author, $date\"";
+ print " title=\"". esc_html($author) . ", $date\"";
print " rowspan=\"$group_size\"" if ($group_size > 1);
print ">";
print $cgi->a({-href => href(action=>"commit",