Email mangling in archives breaks links

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: pgsql-www(at)postgresql(dot)org
Subject: Email mangling in archives breaks links
Date: 2013-06-17 09:59:12
Message-ID: 51BEDDF0.3040801@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

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).

- Heikki

Attachment Content-Type Size
dont-mangle-message-id-links-1.patch text/x-diff 1.3 KB

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2013-06-17 13:56:44 Re: missing attachment in mails
Previous Message Cédric Villemain 2013-06-17 09:39:03 Re: missing attachment in mails