Opened 3 years ago

Last modified 3 years ago

#1752 new defect

spiffy-cgi-handlers: infinite redirect with cgit 'about' page

Reported by: Diego Owned by:
Priority: major Milestone: someday
Component: extensions Version: 5.2.0
Keywords: spiffy, spiffy-cgi-handlers Cc:
Estimated difficulty:

Description

For some reason, going to the "about" page on a cgit repostiory causes spiffy to infinitely redirect with something like the following sample debug log. I think I've observed the behavior on others' spiffy servers as well. Not sure I understand cgi well enough to provide more info.

spiffy92: Incoming request from 0.0.0.0
spiffy92: Handling request from 0.0.0.0
(cgi) started program /usr/lib/cgit/cgit.cgi(/usr/share/webapps/cgit/dotfiles/about/) ...
spiffy92: Closing off
spiffy93: Incoming request from 0.0.0.0
spiffy93: Handling request from 0.0.0.0
(cgi) started program /usr/lib/cgit/cgit.cgi(/usr/share/webapps/cgit/dotfiles/about/) ...
spiffy93: Closing off
spiffy94: Incoming request from 0.0.0.0
spiffy94: Handling request from 0.0.0.0
(cgi) started program /usr/lib/cgit/cgit.cgi(/usr/share/webapps/cgit/dotfiles/about/) ...
spiffy94: Closing off
spiffy95: Incoming request from 0.0.0.0
spiffy95: Handling request from 0.0.0.0
(cgi) started program /usr/lib/cgit/cgit.cgi(/usr/share/webapps/cgit/dotfiles/about/) ...
spiffy95: Closing off
spiffy96: Incoming request from 0.0.0.0
spiffy96: Handling request from 0.0.0.0
(cgi) started program /usr/lib/cgit/cgit.cgi(/usr/share/webapps/cgit/dotfiles/about/) ...

Change History (1)

comment:1 Changed 3 years ago by Diego

I'm now unsure if this is a bug - Kooda proposes a solution using a different cgit config here:

https://paste.call-cc.org/paste?id=302245423e91ebbc159f690bf69c56dcc1d9a4cf

Note: See TracTickets for help on using tickets.