]> Sergey Matveev's repositories - public-inbox.git/commit
www: redirect /f/$MESSAGE_ID.txt links to /m/$MESSAGE_ID.txt
authorEric Wong <e@80x24.org>
Wed, 19 Aug 2015 19:46:22 +0000 (19:46 +0000)
committerEric Wong <e@80x24.org>
Wed, 19 Aug 2015 19:46:22 +0000 (19:46 +0000)
commitc23a40e9f6ee1af2feeb0275f14dd9f5b7e91f8c
treeba8706c57bb17833eff463fbd5d8ce315cba55f4
parent289778885f8155fbd05a54ed4a84aeb724e68b04
www: redirect /f/$MESSAGE_ID.txt links to /m/$MESSAGE_ID.txt

Some people (e.g. myself :p) may try to guess URLs and hit a
404.  Redirect to the /m/ version.

Note: we prefer to redirect to canonical URLs to improve
caching.
lib/PublicInbox/WWW.pm