GNU bug report logs - #51733
27.1; Detect impossible email addresses better

Previous Next

Packages: gnus, emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 10 Nov 2021 00:29:01 UTC

Severity: wishlist

Found in version 27.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 51733 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#51733: 27.1; Detect impossible email addresses better
Date: Wed, 19 Jan 2022 13:56:33 +0100
Robert Pluim <rpluim <at> gmail.com> writes:

> (textsec-email-suspicious-p "דגבאa <foo <at> bar.com>")

That is not a valid email address.

> Since itʼs now open season on display names and mailbox names, the
> following might be enough. Lars?

No, that function parses well-formed email addresses, as defined by the
standards.  It does not do any kind of DWIM or guesswork, and it
shouldn't.

(textsec-email-suspicious-p "דגבאa <foo <at> bar.com>")

shouldn't bug out, though -- it should instead say that the string is
suspicious because it's not well-formed as an email address. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 124 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.