aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorLuben Tuikov <ltuikov@yahoo.com>2006-10-30 12:37:54 -0800
committerJunio C Hamano <junkio@cox.net>2006-11-01 11:31:55 -0800
commit5ad0828ca33e7af402466b0e04db16c014428d1a (patch)
tree7eaf6cde2f571a65c60f9ed3151696cc55da2746 /gitweb
parent56532fa147d56057ad4121f5ccea8e254748afdd (diff)
downloadgit-5ad0828ca33e7af402466b0e04db16c014428d1a.tar.gz
git-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>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index ec46b8091..bfadbe25c 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",