author | Devin Doucette <devin@doucette.cc> | |
Sat, 27 Dec 2008 09:39:31 +0000 (02:39 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 28 Dec 2008 06:34:03 +0000 (22:34 -0800) | ||
commit | fb3bb3d1325f1d0a8cdc402a596c9a520b0ccbe6 | |
tree | a0ea80dba2534b9343806c63831a4e1a16b59ad7 | tree | snapshot |
parent | a9012e343eee2404a54abcc5bbff9e63f5683029 | commit | diff |
gitweb: Fix export check in git_get_projects_list
When $filter was empty, the path passed to check_export_ok would
contain an extra '/', which some implementations of export_auth_hook
are sensitive to.
It makes more sense to fix this here than to handle the special case
in each implementation of export_auth_hook.
Signed-off-by: Devin Doucette <devin@doucette.cc>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When $filter was empty, the path passed to check_export_ok would
contain an extra '/', which some implementations of export_auth_hook
are sensitive to.
It makes more sense to fix this here than to handle the special case
in each implementation of export_auth_hook.
Signed-off-by: Devin Doucette <devin@doucette.cc>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |