]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Show project descriptions with utf-8 characters in project list correctly
authorJakub Narebski <redacted>
Sun, 30 Jul 2006 15:47:22 +0000 (17:47 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:05:46 +0000 (00:05 -0400)
Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.cgi

index 899242e1298234146eee75c0903ada41c52e8c9ec05488daf0448467ae070ec8..7540e974ba43e7475c031b377ed73a6f205e706fd6ce4cf24aadaa39948e56be 100755 (executable)
@@ -958,7 +958,7 @@ sub git_project_list {
                }
                $alternate ^= 1;
                print "<td>" . $cgi->a({-href => "$my_uri?" . esc_param("p=$pr->{'path'};a=summary"), -class => "list"}, esc_html($pr->{'path'})) . "</td>\n" .
-                     "<td>$pr->{'descr'}</td>\n" .
+                     "<td>" . esc_html($pr->{'descr'}) . "</td>\n" .
                      "<td><i>" . chop_str($pr->{'owner'}, 15) . "</i></td>\n";
                print "<td class=\"". age_class($pr->{'commit'}{'age'}) . "\">" . $pr->{'commit'}{'age_string'} . "</td>\n" .
                      "<td class=\"link\">" .
This page took 0.238023 seconds and 4 git commands to generate.