From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#51733: 27.1; Detect impossible email addresses better Date: Wed, 19 Jan 2022 14:31:11 +0100 Message-ID: <87ilufc0o0.fsf@gnus.org> References: <87czn8etuz.7.fsf@jidanni.org> <875yqi5kk7.fsf@gnus.org> <83zgnuuucu.fsf@gnu.org> <83r196uqni.fsf@gnu.org> <87sftm3ye5.fsf@gnus.org> <87iluh4ety.fsf@gnus.org> <87ee55474p.fsf@gnus.org> <87a6ft46mr.fsf@gnus.org> <874k6146ay.fsf@gnus.org> <87zgnt2qz9.fsf@gnus.org> <87v8yh2ot4.fsf@gnus.org> <87r1952omd.fsf@gnus.org> <831r14vq70.fsf@gnu.org> <8735lkdqll.fsf@gnus.org> <834k60t03u.fsf@gnu.org> <87h79zdgxe.fsf@gnus.org> <83sftjswv8.fsf@gnu.org> <87zgnrc1sf.fsf@gnus.org> <83o847swdk.fsf@gnu.org> <87r193c1bz.fsf@gnus.org> <83lezbsvrb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4062"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51733@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 19 14:57:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nABSf-0000sl-B5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 14:57:17 +0100 Original-Received: from localhost ([::1]:46662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nABSe-00083s-8S for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 08:57:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAB4F-0002Sz-Cd for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 08:32:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59981) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAB4F-0004Pp-0u for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 08:32:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAB4E-0007pB-UQ; Wed, 19 Jan 2022 08:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 19 Jan 2022 13:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51733 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 51733-submit@debbugs.gnu.org id=B51733.164259908629997 (code B ref 51733); Wed, 19 Jan 2022 13:32:02 +0000 Original-Received: (at 51733) by debbugs.gnu.org; 19 Jan 2022 13:31:26 +0000 Original-Received: from localhost ([127.0.0.1]:52876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAB3e-0007nl-6u for submit@debbugs.gnu.org; Wed, 19 Jan 2022 08:31:26 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:35066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAB3Z-0007nF-DC for 51733@debbugs.gnu.org; Wed, 19 Jan 2022 08:31:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Uh9kGKPmbILzf/qijRTxoj7Tklm8f+4lbH9r9RZOpuQ=; b=ryoVbeEBwvx1vllWe/A3t1bVJJ lgNDPPCrY7kFhSBAXfB2cE9mMI3/0OckMH4jBLsmJyqr/abPWxy9K2oDp27IaeiUsKVhf2F4e5+l9 WeA2mExVAf20xgGdc8lAGta7BpRngZ0evAWN8xa1Yx/pviURxgo7AN3LzqX70UNK3Xno=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAB3Q-00037A-0K; Wed, 19 Jan 2022 14:31:14 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXp5OKzpqKKeHVS PTv///9X6rKaAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YBEw0HDtMkq20AAAGSSURBVDjLbZMLtsMg CETRbgBxA4obaHT/e3sDfpK2j9M0jdeBwRIKhEiNI9OJqBTJnwNAuUHoADP+UZDnyh8gKGUqW1G+ FMl3tvJRY6Zi/gV8in+DsH7m8lVjg1hiXbs5WY0bhLqyjMofYKUKqfWCzn8AtTau/xQkBsZxFesG quMNgM7hg5I8wRWbAQ+AGlaqBlDQudQFcIMpzjiPUQRZUtIKoC5lsh1SAXBXRLxCQrUA0EZNwTLJ AlXQc0hpDBgj3y72SSpFVNjAFUhPgFbp6qAracfjXAbIVdMGQ+b+jgvZsM2AzAY5ApinLuJgnLPS 1n3SNNdsQE2BC+m6tX5AWwqYtWGJAJeDtP5o1LT5enVpVzup7shdxgTVgWUh+3r1tEAhq30GyhQz +LFqrq8b8BqzBdpcv4j4U6ELuCLcoLbu4E3TLq3X5AA2EA1M1auOCeirxgY2u/xk+QBbfXQC0JZb 4mcy1d0epsT9LMdNp8KWps8FJG/F7ANgn8nYbu10Yc1f9gO6vxrknoN747COMPEfhaRNUtUweIMA AAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDEtMTlUMTM6MDc6MTQrMDA6MDBVD1j7AAAAJXRFWHRk YXRlOm1vZGlmeQAyMDIyLTAxLTE5VDEzOjA3OjE0KzAwOjAwJFLgRwAAAABJRU5ErkJggg== X-Now-Playing: David Sylvian's _Brilliant Trees_: "Weathered Wall" In-Reply-To: <83lezbsvrb.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 19 Jan 2022 15:25:12 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:224584 Archived-At: Eli Zaretskii writes: > I'm not asking to _replace_ RFC2047 support, I'm saying that we should > also support email addresses that were already decoded, for the use > cases where that could be more convenient or where the wire level is > unavailable. These already exist. The applications can call *-name-suspicious-p (etc) individually, if they want to. > Why would you object to extending these functions so that they could > support decoded email addresses? What harm could that possibly do? That's the point -- when doing DWIM parsing, the function can't reliably say whether a string is a suspicious email address, because the attacker may construct a name part, that when decoded, confuses the address parser, and thereby escapes domain/local part checking. (Think of various combinations of names that contain "@" and "," characters.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no