]> Sergey Matveev's repositories - public-inbox.git/commit
wire up shorter, less ambiguous URLs
authorEric Wong <e@80x24.org>
Thu, 27 Aug 2015 04:33:59 +0000 (04:33 +0000)
committerEric Wong <e@80x24.org>
Thu, 27 Aug 2015 06:04:51 +0000 (06:04 +0000)
commit6fb2cbb34be7376a24bd00e0f8fd20114c18318c
treeec874cc24a3c37b2937f332962c0b64d78b37274
parentded3c261112acf925567507959319a8442a3b647
wire up shorter, less ambiguous URLs

We will prefer URLs without suffixes for now to avoid ambiguity
in case a Message-ID ends with ".html", ".txt", ".mbox.gz" or
any other suffix we may use.

Static file compatibility is preserved by using a trailing slash
as most servers can/will fall back to an index.html file in this
case.

For raw text files, we will follow gmane's lead with "/raw"
lib/PublicInbox/WWW.pm
t/cgi.t
t/plack.t