gitweb: use_pathinfo filenames start with /
authorGiuseppe Bilotta <redacted>
Tue, 21 Oct 2008 19:34:52 +0000 (21:34 +0200)
committerJunio C Hamano <redacted>
Sat, 25 Oct 2008 19:25:14 +0000 (12:25 -0700)
commit3550ea71f566b6958ffedf1573806d5fe891f344
tree9f84b0a01d14612c6db3e81b17fcc56052fcce5f
parentb02bd7a6323a85f9feedd9c8cd7d7401021dfb11
gitweb: use_pathinfo filenames start with /

Generate PATH_INFO URLs in the form project/action/hash_base:/filename
rather than project/action/hash_base:filename (the latter form is still
accepted in input).

This minimal change allows relative navigation to work properly when
viewing HTML files in raw ('blob_plain') mode.

Signed-off-by: Giuseppe Bilotta <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb/gitweb.perl
git clone https://git.99rst.org/PROJECT