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

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

Next: Jakub Narebski
Message 1 of 16 in “gitweb bug: broken "next" and other links”
  1. Wincent ColaiutaFeb 11, 2008
  2. Jakub NarebskiFeb 11, 2008
  3. Wincent ColaiutaFeb 11, 2008
  4. Jakub NarebskiFeb 11, 2008
  5. Jakub NarebskiFeb 12, 2008
  6. Jakub NarebskiFeb 12, 2008
  7. Wincent ColaiutaFeb 12, 2008
  8. Jakub NarebskiFeb 12, 2008
  9. Wincent ColaiutaFeb 12, 2008
  10. Jakub NarebskiFeb 15, 2008
  11. Wincent ColaiutaFeb 17, 2008
  12. Junio C HamanoFeb 17, 2008
  13. Jakub NarebskiFeb 18, 2008
  14. Junio C HamanoFeb 18, 2008
  15. Jakub NarebskiFeb 19, 2008
  16. Wincent ColaiutaFeb 19, 2008

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.