threads / discuss / 29023

gitweb: broken links with pathinfo

Subject: gitweb: broken links with pathinfo

## tl;dr

One message between Nov 27, 2011 and Nov 27, 2011.

replies: 0people: 1as markdown or json

Jürgen Kreileder· Nov 27, 2011, 04:02 UTC · lore
Hi,

if pathinfo (gitweb.perl 208a1cc3d3) is enabled, some pages lead to 404 errors. For example, on https://git.blackdown.de/contactalbum.git/blobdiff/c7fdc45614bd127581852ce429c4483b1d21c0d4..82f7c8babf6095224bf5d8ab04f6eea4b1a555ee:/Classes/WindowController.h

a/Classes/WindowController.h -> https://git.blackdown.de/contactalbum.git/blob/3c27189e8adc690f421334a9cad7ad719c066eb4:/Classes/WindowController.h b/Classes/WindowController.h -> https://git.blackdown.de/contactalbum.git/blob/f285b2728d2c7782806f0b7f6d696b226a88f03c:/Classes/WindowController.h

Both links give '404 - Cannot find file'
With pathinfo disabled, I get the following working URLs intead:

a/Classes/WindowController.h -> https://git.blackdown.de/?p=contactalbum.git;a=blob;f=Classes/WindowController.h;h=3c27189e8adc690f421334a9cad7ad719c066eb4;hb=3c27189e8adc690f421334a9cad7ad719c066eb4 b/Classes/WindowController.h -> https://git.blackdown.de/?p=contactalbum.git;a=blob;f=Classes/WindowController.h;h=f285b2728d2c7782806f0b7f6d696b226a88f03c;hb=f285b2728d2c7782806f0b7f6d696b226a88f03c

Jürgen
-- 
http://blog.blackdown.de/
http://www.flickr.com/photos/jkreileder/

← back to recent threads