URL parsing bug?

Jim Meyering jim at meyering.net
Mon Aug 13 10:03:32 CEST 2012


Surprisingly, this link (suggested by cgit itself) elicits a 404:
(that's a complete, valid SHA1 checksum)

    http://git.sv.gnu.org/cgit/grep.git/commit/?id=c96b0f2c8220f171f8fabd62aa1457ebff4d9277

Yet removing a single byte from the end of the SHA string, it works fine:

    http://git.sv.gnu.org/cgit/grep.git/commit/?id=c96b0f2c8220f171f8fabd62aa1457ebff4d927

Alternatively, just append an ampersand:

    http://git.sv.gnu.org/cgit/grep.git/commit/?id=c96b0f2c8220f171f8fabd62aa1457ebff4d9277&




More information about the CGit mailing list