git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jürgen Kreileder" <jk@blackdown.de>
To: git@vger.kernel.org
Subject: gitweb: broken links with pathinfo
Date: Sun, 27 Nov 2011 05:02:45 +0100	[thread overview]
Message-ID: <CAKD0UuxGWLb5Dgp71p_fn1k1hJFDdzPOL0rAvhJHf6pjyHAxSw@mail.gmail.com> (raw)

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/

                 reply	other threads:[~2011-11-27  4:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKD0UuxGWLb5Dgp71p_fn1k1hJFDdzPOL0rAvhJHf6pjyHAxSw@mail.gmail.com \
    --to=jk@blackdown.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).