Re: Message-ID should surely not be shown as a mailto: URL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Sullivan <ajs(at)commandprompt(dot)com>
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: Message-ID should surely not be shown as a mailto: URL
Date: 2008-06-09 14:38:49
Message-ID: 19073.1213022329@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

Andrew Sullivan <ajs(at)commandprompt(dot)com> writes:
> On Mon, Jun 09, 2008 at 02:30:55AM -0400, Tom Lane wrote:
>> I don't pretend to know what is the approved way to deal with these
>> issues, but *this* can't be best practice.

> Obviously, someone is looking for something that _looks_ like a mail
> address, attempting to munge it, and on the way through, changing it
> to a mailto: link. I think some parsing of the RFC2821/2822 headers
> is needed first, so that one doesn't do this for things like the
> message id.

What I'm complaining about is the logical disconnect involved in
sticking a mailto: onto an address that you have carefully made
unusable for sending mail to. I don't have a problem with munging
all of them, just leave off the mailto decoration.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Cave-Ayland 2008-06-09 14:44:52 Re: Strange issue with GiST index scan taking far too long
Previous Message Simon Riggs 2008-06-09 14:36:07 Re: Strange issue with GiST index scan taking far too long

Browse pgsql-www by date

  From Date Subject
Next Message Josh Berkus 2008-06-09 22:39:00 Proposal: pulling newsbytes from www.pgfoundry.org
Previous Message Alvaro Herrera 2008-06-09 14:34:17 Re: Message-ID should surely not be shown as a mailto: URL