@matheusbsbs / matheus-bagliano / commits / afeaa5d8da
Fork 0

add missing esc() rename

Signed-off-by: Kay Sievers <kay.sievers@suse.de>

Kay Sievers committed Nov 20, 2005 at 02:03 UTC afeaa5d8da4c4f1abde1a01285f6d612919c64ee
1 file changed +3 -2
gitweb.cgi
+3 -2
@@ -1308,7 +1308,8 @@ sub git_blob {
1308 " | " . $cgi->a({-href => esc_url("$my_uri?p=$project;a=commitdiff;h=$hash_base")}, "commitdiff") .
1309 " | " . $cgi->a({-href => esc_url("$my_uri?p=$project;a=tree;h=$co{'tree'};hb=$hash_base")}, "tree") . "<br/>\n";
1310 if (defined $file_name) {
1311 - print $cgi->a({-href => esc_url("$my_uri?p=$project;a=blob_plain;h=$hash;f=$file_name")}, "plain") . "<br/>\n";
1311 + print $cgi->a({-href => esc_url("$my_uri?p=$project;a=blob_plain;h=$hash;f=$file_name")}, "plain") .
1312 + " | " . $cgi->a({-href => esc_url("$my_uri?p=$project;a=blob;hb=HEAD;f=$file_name")}, "head") . "<br/>\n";
1313 } else {
1314 print $cgi->a({-href => esc_url("$my_uri?p=$project;a=blob_plain;h=$hash")}, "plain") . "<br/>\n";
1315 }
@@ -1430,7 +1431,7 @@ sub git_tree {
1431 $cgi->a({-href => esc_url("$my_uri?p=$project;a=tree;h=$t_hash" . $base_key . $file_key)}, $t_name) .
1432 "</td>\n" .
1433 "<td class=\"link\">" .
1433 - $cgi->a({-href => esc("$my_uri?p=$project;a=tree;h=$t_hash" . $base_key . $file_key)}, "tree") .
1434 + $cgi->a({-href => esc_url("$my_uri?p=$project;a=tree;h=$t_hash" . $base_key . $file_key)}, "tree") .
1435 "</td>\n";
1436 }
1437 print "</tr>\n";