git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] gitweb: esc_html() author in blame

From
LTLuben Tuikov <ltuikov@yahoo.com>
Date
Oct 30, 2006, 20:37 UTC
Message-ID
<20061030203755.5021.qmail@web31810.mail.mud.yahoo.com>

Blame fails for example on block/ll_rw_blk.c at v2.6.19-rc3.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
---
 gitweb/gitweb.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index c52e19d..177efd3 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -2751,7 +2751,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",
-- 
1.4.3.3.g1e64f-dirty
Next: Junio C Hamano
Message 1 of 3 in “gitweb: esc_html() author in blame”
  1. gitweb: esc_html() author in blameLuben Tuikov, Oct 30, 2006
  2. Junio C HamanoOct 30, 2006
  3. Luben TuikovOct 30, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.