gitweb bug: broken "next" and other links
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Feb 11, 2008, 12:51 UTC
- Message-ID
- <B0EC9FB3-DDDE-4BC5-92D8-20487CBD6725@wincent.com>
Just noticed a bug (possibly bugs) in gitweb.
Look at a shortlog page like this one:
http://repo.or.cz/w/git.git?a=shortlog
Mouse over the "next" link at the bottom and you'll see this is the URL:
http://repo.or.cz/w/ARRAY(0x85a5318)?a=shortlog;pg=1
Which obviously won't work...
Same if you look at the "log" view:
http://repo.or.cz/w/git.git?a=log
There the "next" links point at URLs like:
http://repo.or.cz/w/ARRAY(0x85e87b8)?a=log;pg=1
But it's not only "next" links that are broken. Some random clicking around discovered ones like this:
Looking at a commitdiff, eg:
http://repo.or.cz/w/git.git?a=commitdiff;h=94bf9f7c37cca0241785a5f4e54e5cc98e175244
The "raw" link is:
http://repo.or.cz/w/ARRAY(0x8579c0c)?a=commitdiff_plain;h=94bf9f7c37cca0241785a5f4e54e5cc98e175244
There may be others, but that's what I've found so far.
Cheers, Wincent