]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: Quote non-displayable characters in hex, not octal
[Gitweb] / gitweb.perl
index 9ded76fe16d97be35257655b52ad157415e2b494da6a39ef84d8ac9f0621ec45..5ac2233929773b7cf14348f23a1e2893372a5d9cbaae1f5aba77be68c2561fc4 100755 (executable)
@@ -776,7 +776,7 @@ sub quot_cec {
        );
        my $chr = ( (exists $es{$cntrl})
                    ? $es{$cntrl}
-                   : sprintf('\%03o', ord($cntrl)) );
+                   : sprintf('\%2x', ord($cntrl)) );
        if ($opts{-nohtml}) {
                return $chr;
        } else {
@@ -4120,10 +4120,10 @@ sub git_summary {
 
        if (@forklist) {
                git_print_header_div('forks');
-               git_project_list_body(\@forklist, undef, 0, 15,
+               git_project_list_body(\@forklist, 'age', 0, 15,
                                      $#forklist <= 15 ? undef :
                                      $cgi->a({-href => href(action=>"forks")}, "..."),
-                                     'noheader');
+                                     'no_header');
        }
 
        git_footer_html();
This page took 0.227 seconds and 4 git commands to generate.