Обсуждение: Email mangling in archives breaks links

Поиск
Список
Период
Сортировка

Email mangling in archives breaks links

От
Heikki Linnakangas
Дата:
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

Вложения

Re: Email mangling in archives breaks links

От
Magnus Hagander
Дата:
On Mon, Jun 17, 2013 at 11:59 AM, Heikki Linnakangas
<hlinnakangas@vmware.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 HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/