Re: Email mangling in archives breaks links

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Email mangling in archives breaks links
Date: 2013-06-17 20:43:22
Message-ID: CABUevExfyBXGYt47PaYq4WccYHjCzAzuV_aFUaNbsze8k4-ENQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Mon, Jun 17, 2013 at 11:59 AM, Heikki Linnakangas
<hlinnakangas(at)vmware(dot)com> wrote:
> The mailing list archives web interface obfuscates email addresses by
> replacing @ and . with (at) and (dot). That breaks links to other messages
> in the archives, which after mangling, look like this:
>
> http://www.postgresql.org/message-id/CA+TgmobguVO+qHnHvxBA2TFkDhw67Y=4Bp405FVABEc_EtO4VQ(at)mail(dot)gmail(dot)com
>
> Attached is a patch to fix that. It changes the simple regexp used to
> replace @ and . to check that there is no "/message-id/" string before the
> email address (which isn't actually an email address in those links).

Applied, thanks!

It'll take some time to hit cached messages (up to 8 hours).

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2013-06-17 20:43:51 Re: Ooops! Minor issue with email address mangling
Previous Message Szymon Guz 2013-06-17 20:42:54 Re: [RRR] problem with logging into commitfest site