public inbox for [email protected]  
help / color / mirror / Atom feed
From: Magnus Hagander <[email protected]>
To: Tom Lane <[email protected]>
Cc: Josh Kupershmidt <[email protected]>
Cc: w^3 <[email protected]>
Subject: Re: msgtxt.php archive links broken
Date: Tue, 5 Mar 2013 17:51:27 +0100
Message-ID: <CABUevEyfxSF2P-5m6=TzvH1_oT=A=1-01u0-FEFtpqcJ7wkCVg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAK3UJRGZfoRJsVBuhwQMAQbk1MPXx5TdOq24NxqCCGB4zQ3Ezg@mail.gmail.com>
	<[email protected]>
	<CABUevEx+ewaU1fBgAMv_T36kHMszsuf_=hv0u0qJDNHcKzzjSg@mail.gmail.com>
	<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-www>

On Sat, Mar 2, 2013 at 3:38 PM, Tom Lane <[email protected]> wrote:
> Magnus Hagander <[email protected]> writes:
>> On Sat, Mar 2, 2013 at 3:45 AM, Tom Lane <[email protected]> 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=CAK3UJRGZfoRJsVBuhwQMAQbk1MPXx5TdOq24NxqCCGB4zQ3E...
>
>> 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:
>
> <form action="http://archives.postgresql.org/message-by-id.php";
>       method="get" id="goto-message-id">
>       Archived message ID <input type="text" name="q" size="60" />
> </form>

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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-www



view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: msgtxt.php archive links broken
  In-Reply-To: <CABUevEyfxSF2P-5m6=TzvH1_oT=A=1-01u0-FEFtpqcJ7wkCVg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox