]> Sergey Matveev's repositories - public-inbox.git/commit
www: extra redirects for the '/'-challenged
authorEric Wong <e@80x24.org>
Fri, 4 Sep 2015 08:49:29 +0000 (08:49 +0000)
committerEric Wong <e@80x24.org>
Fri, 4 Sep 2015 08:49:29 +0000 (08:49 +0000)
commit6e509b610078e6758b98d1151ea775f76fd22cbe
treec9a87f71fb27e5d4c4f6af631dd7f9512eced68d
parent239d316f953260768f36f95006c919e45c0dd8e8
www: extra redirects for the '/'-challenged

Omitting a slash should not be fatal if unambiguous.  Add
fallbacks so users who expect a directory structure-like
experience can have it at the cost of one extra HTTP
request/response pair.

This matches behavior of static sites.
lib/PublicInbox/WWW.pm