Thread (13 messages) flat view 13 messages, 2 authors, 2016-06-15

gitweb bug: broken "next" and other links

From: Wincent Colaiuta <hidden>
Date: 2016-06-15 22:44:12

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help