author | Jakub Narebski <jnareb@gmail.com> | |
Sat, 21 Oct 2006 15:53:09 +0000 (17:53 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 22 Oct 2006 20:24:37 +0000 (13:24 -0700) | ||
commit | 300454feaba846b6bf95625c607d7096d81d26eb | |
tree | 1e7ca90d7c8f98d2b3a38158739d4b79804eb292 | tree | snapshot |
parent | e7fb022a42a83cbdb33e40f82ffca28eceb423c9 | commit | diff |
gitweb: Do not esc_html $basedir argument to git_print_tree_entry
In git_tree, rename $base variable (which is passed as $basedir
argument to git_print_tree_entry) to $basedir. Do not esc_html
$basedir, as it is part of file_name ('f') argument in link and not
printed. Add '/' at the end only if $basedir is not empty (it is empty
for top directory) and doesn't end in '/' already.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
In git_tree, rename $base variable (which is passed as $basedir
argument to git_print_tree_entry) to $basedir. Do not esc_html
$basedir, as it is part of file_name ('f') argument in link and not
printed. Add '/' at the end only if $basedir is not empty (it is empty
for top directory) and doesn't end in '/' already.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |