bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51733: 27.1; Detect impossible email addresses better


From: Lars Ingebrigtsen
Subject: bug#51733: 27.1; Detect impossible email addresses better
Date: Wed, 19 Jan 2022 13:56:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Robert Pluim <rpluim@gmail.com> writes:

> (textsec-email-suspicious-p "דגבאa <foo@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@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]