Re: Overeager spam fighting for link? - Mailing list pgsql-www

From Magnus Hagander
Subject Re: Overeager spam fighting for link?
Date
Msg-id CABUevEwqRdWBaio-LFH654P+rPQ1jtxXwatR9wjuc0mNmR50Zw@mail.gmail.com
Whole thread Raw
In response to Overeager spam fighting for link?  (Greg Sabino Mullane <htamfids@gmail.com>)
List pgsql-www
On Tue, Feb 18, 2025 at 3:28 PM Greg Sabino Mullane <htamfids@gmail.com> wrote:
I came across this page today:

Subject: Re: redacting password in SQL statement in server log


The spam filtering[1] that occurs for the header information appears to have been applied to the bottom link as well - making it 404. Not sure where that is getting applied, but doing a "raw source" and checking my original inbox seems to indicate the link at the bottom of the email was sent unobscured.

[1] In which alice@gmail.com becomes alice(at)gmail(dot)com


The regexp used is this:
_re_mail = re.compile(r'(/m(essage-id)?/)?[^()<>@,;:\/\s"\'&|]+@[^()<>@,;:\/\s"\'&|]+')


The comment indicates it's trying to special case these links already, but clearly it's failing. I think maybe because it's not considering the /flat/ part of the URL. I haven't got time to test it out properly right this moment, but I think that might be it.

--

pgsql-www by date:

Previous
From: Maciek Sakrejda
Date:
Subject: Broken layout: CommitFest Add Review Form (still)
Next
From: Federico Campoli
Date:
Subject: problem when requesting a new git repository