]> Lady’s Gitweb - Gitweb/commit
gitweb: Fix export check in git_get_projects_list
authorDevin Doucette <redacted>
Sat, 27 Dec 2008 09:39:31 +0000 (02:39 -0700)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:38 +0000 (00:50 -0400)
commit2a41fdbb10aaea4edf25c92b0e2ea975d97a241c71f7c9d096334a87df7245d4
tree637fa47381e7685d1dafdef601eb4f8efb06e2bdab35d2de92875a645aebcf09
parentefb1a9486eeaf3f416bcf5ac70e9a17a1a537912bb9c2a2a4850d42c9b70db32
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 <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.250183 seconds and 4 git commands to generate.