Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCv5Q-0006vA-Ec for pgsql-www@arkaria.postgresql.org; Tue, 05 Mar 2013 16:51:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UCv5P-00045h-Tp for pgsql-www@arkaria.postgresql.org; Tue, 05 Mar 2013 16:51:31 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCv5P-000454-5Z for pgsql-www@postgresql.org; Tue, 05 Mar 2013 16:51:31 +0000 Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCv5N-0001FP-Gc for pgsql-www@postgresql.org; Tue, 05 Mar 2013 16:51:30 +0000 Received: by mail-we0-f170.google.com with SMTP id z53so6841877wey.1 for ; Tue, 05 Mar 2013 08:51:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=1RguxrEGHPSclHtSXiHk9qMFf21t6GEOMWA5BgRwUsI=; b=eztpT+7yBdBo6zcexwC5gE6SBSrI7oWmrTj+96+/h1GILda5oqty/9rVTFW+n9r6xP lfDBEs9++vmBzwM/9jRJ/OEVfIeIHizDQ5lqFgya2sNRYhI7JOhNaZK5FUaJCMkGblvz oMzKFp6otwS2IXHdnkBg2FZco4VIIWSryO4m2k7aFo/jr188ZJcdyqTf0aJgpG3Q21d0 NET03uyhBqfjI5k9NDhShJTMhdY8AffXmH9lkoOPWvj7eqh4zQBp2AB17INrvUBo6mYj ztWQxByDatTjie8OoWiWY/Mu/RGRNzskMlWBmbWkgN/Kkj+RHB5U7h8TwFO4ttx4nnWS qmiw== MIME-Version: 1.0 X-Received: by 10.194.91.211 with SMTP id cg19mr40860854wjb.43.1362502287725; Tue, 05 Mar 2013 08:51:27 -0800 (PST) Received: by 10.194.171.40 with HTTP; Tue, 5 Mar 2013 08:51:27 -0800 (PST) In-Reply-To: <13630.1362235133@sss.pgh.pa.us> References: <1856.1362192314@sss.pgh.pa.us> <13630.1362235133@sss.pgh.pa.us> Date: Tue, 5 Mar 2013 17:51:27 +0100 Message-ID: Subject: Re: msgtxt.php archive links broken From: Magnus Hagander To: Tom Lane Cc: Josh Kupershmidt , "w^3" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmVVEYMDeaTbefJGl7t1UHCAl13wzGxk9Nd9QZ6bDeN4oM7Dn/rQmEjPr3StWs8tG/oJFqi X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-www Precedence: bulk Sender: pgsql-www-owner@postgresql.org On Sat, Mar 2, 2013 at 3:38 PM, Tom Lane wrote: > Magnus Hagander writes: >> On Sat, Mar 2, 2013 at 3:45 AM, Tom Lane wrote: >>> While we're griping about that sort of thing ... URLs like this used to >>> work to fetch a message by message-id: >>> http://www.postgresql.org/list/message-by-id.php?q=CAK3UJRGZfoRJsVBuhwQMAQbk1MPXx5TdOq24NxqCCGB4zQ3Ezg%40mail.gmail.com/ > >> Exactly what was the original URLs you guys tried? Becuase both those >> look like the result of having been rewritten/redirected... (Possibly >> incorrectly so..) > > In my case that was the original URL. I have a link on my home page for > going straight to a copied-and-pasted message ID, which works like this: > >
method="get" id="goto-message-id"> > Archived message ID >
Not quite. That form generates an url to archives.postgresql.org - so what you pasted above clearly is the redirected version. I noticed that this one is different from the one Josh Kupershmidt reported (that one was for msgtxt.php), so if your custom for was the only case where this one was actually hit, I'm not sure it's worth fixing, since you can easily fix it per below. Have you or anybody else seen this URL pattern in links that are actually stored anywhere? > It's no trouble to change the form parameters, but this method requires > URLs that look like "...?something=messageid". I don't know if the new > site layout accepts anything like that. If you input any messageid in the general search box, it will do the right thing transparently now. So you can just put http://www.postgresql.org/search/ as your target for the search. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-www mailing list (pgsql-www@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-www