]> Sergey Matveev's repositories - public-inbox.git/commit
cgi: /$LISTNAME/ and /$LISTNAME/index.html are equal
authorEric Wong <e@80x24.org>
Thu, 10 Apr 2014 20:02:34 +0000 (20:02 +0000)
committerEric Wong <e@80x24.org>
Fri, 11 Apr 2014 22:23:58 +0000 (22:23 +0000)
commitb60a668b43b0a279c2a1d621c009396bea1a4898
tree3b4a840a97657eb4ea6e6d0d8c723c63970da71a
parent610e07776ea454ef5b86714f14718540ab0b4dae
cgi: /$LISTNAME/ and /$LISTNAME/index.html are equal

This prevents ambiguity when switching URLs between static
file servers and CGI.

The /$LISTNAME/index.html URL appearing in the wild is inevitable
because of our static file server support.  Worst yet, there's
no easy/consistent way to get all installations detect and 301
them to the shorter /$LISTNAME/.  So we make the CGI support
/$LISTNAME/index.html.

The downside of this is the potential duplicate entry in all caches.
lib/PublicInbox/Feed.pm
public-inbox-cgi
t/cgi.t