]> Lady’s Gitweb - Gitweb/commit
gitweb: fix project list if PATH_INFO=="/".
authorMartin Waitz <redacted>
Wed, 16 Aug 2006 22:28:40 +0000 (00:28 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
commitc4c09f2acdd5367949664b6f848f6b76080fee99350f90e292afce81d4483667
tree5be6300416b9d905bd10561666376fc65983d882aa76199eb0b26cfa16a6d0d6
parent42fcf7c089492207a1e5e4099abf3ca5745b20d2317b67d615979c5ad37c7090
gitweb: fix project list if PATH_INFO=="/".

The project list now uses several common header / footer generation functions.
These functions only check for "defined $project", but when PATH_INFO just
contains a "/" (which is often generated by web servers), then this test
fails.

Now explicitly undef $project if there is none so that the tests in other
gitweb parts work again.

Signed-off-by: Martin Waitz <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.201661 seconds and 4 git commands to generate.