From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 02CA61FD1F for ; Thu, 27 Aug 2015 04:34:04 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/5] prefer shorter, less-ambiguous URLs Date: Thu, 27 Aug 2015 04:33:57 +0000 Message-Id: <1440650042-26176-1-git-send-email-e@80x24.org> List-Id: Unfortunately, it's possible to have Message-IDs which end in '.txt', '.html' or some other suffix we might use. Instead of '.html', use '/' as a suffix to allow '/raw' for the mbox version (following a lead from gmane). In summary: /m/$MESSAGE_ID.html -> /m/$MESSAGE_ID/ /m/$MESSAGE_ID.txt -> /m/$MESSAGE_ID/raw /f/$MESSAGE_ID.html -> /f/$MESSAGE_ID/ /t/$MESSAGE_ID.html -> /t/$MESSAGE_ID/ /t/$MESSAGE_ID.mbox.gz -> /t/$MESSAGE_ID/mbox.gz Redirects for old URLs remain in place to not break existing links. Eric Wong (5): www: minor cleanups to shorten code wire up shorter, less ambiguous URLs mid: extract Message-ID from inside '<>' wire up to display non-suffixed Message-ID links implement legacy redirects for old URLs