git/list[1] front-page[2] threads[3] people[4] search[5] about
 

gitweb: broken links with pathinfo

From
Jürgen Kreileder <jk@blackdown.de>
Date
Nov 27, 2011, 04:02 UTC
Message-ID
<CAKD0UuxGWLb5Dgp71p_fn1k1hJFDdzPOL0rAvhJHf6pjyHAxSw@mail.gmail.com>
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/
Message 1 of 1 in “gitweb: broken links with pathinfo”
  1. Jürgen KreilederNov 27, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.