Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id E00432E0032 for ; Mon, 9 Jun 2008 11:39:05 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 59408-09 for ; Mon, 9 Jun 2008 11:38:47 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by developer.postgresql.org (Postfix) with ESMTP id 44F7F2E0039 for ; Mon, 9 Jun 2008 11:38:53 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m59EcolG019074; Mon, 9 Jun 2008 10:38:50 -0400 (EDT) To: Andrew Sullivan cc: pgsql-www@postgresql.org Subject: Re: Message-ID should surely not be shown as a mailto: URL In-reply-to: <20080609135503.GB83012@commandprompt.com> References: <5608.1212993055@sss.pgh.pa.us> <20080609135503.GB83012@commandprompt.com> Comments: In-reply-to Andrew Sullivan message dated "Mon, 09 Jun 2008 09:55:04 -0400" Date: Mon, 09 Jun 2008 10:38:49 -0400 Message-ID: <19073.1213022329@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/52 X-Sequence-Number: 15279 Andrew Sullivan 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