From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51733: 27.1; Detect impossible email addresses better Date: Wed, 19 Jan 2022 16:57:38 +0200 Message-ID: <83bl07srh9.fsf@gnu.org> References: <87czn8etuz.7.fsf@jidanni.org> <87tue3y96e.fsf@gnus.org> <83fspny8fp.fsf@gnu.org> <87pmory859.fsf@gnus.org> <83ee57y7xz.fsf@gnu.org> <87lezfy70y.fsf@gnus.org> <83czkry6jw.fsf@gnu.org> <87h7a3y5no.fsf@gnus.org> <87czkry3h8.fsf@gnus.org> <835yqjy26h.fsf@gnu.org> <878rveybyf.fsf@gnus.org> <49EACC4C-E21E-4123-A3D2-901958CF7DC4@gnu.org> <87mtju76pp.fsf@gnus.org> <83bl0awbqq.fsf@gnu.org> <87sftm5lxc.fsf@gnus.org> <835yqiwa87.fsf@gnu.org> <87ee565l4d.fsf@gnus.org> <875yqi5kk7.fsf@gnus.org> <83zgnuuucu.fsf@gnu.org> <87zgnrakyw.fsf@gnus.org> <83fspjstho.fsf@gnu.org> <87a6frajfg.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1540"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51733@debbugs.gnu.org, jidanni@jidanni.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 19 16:21:15 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 1nAClv-0000Fq-D1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 16:21:15 +0100 Original-Received: from localhost ([::1]:60830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAClu-00063m-CN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 10:21:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nACPS-0003RC-5Y for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 09:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nACPR-0005Vw-QM for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 09:58:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nACPR-0005B3-Mc; Wed, 19 Jan 2022 09:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 19 Jan 2022 14:58:01 +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.164260427819890 (code B ref 51733); Wed, 19 Jan 2022 14:58:01 +0000 Original-Received: (at 51733) by debbugs.gnu.org; 19 Jan 2022 14:57:58 +0000 Original-Received: from localhost ([127.0.0.1]:55278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nACPN-0005Ak-Mn for submit@debbugs.gnu.org; Wed, 19 Jan 2022 09:57:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nACPJ-0005AQ-Ml for 51733@debbugs.gnu.org; Wed, 19 Jan 2022 09:57:56 -0500 Original-Received: from [2001:470:142:3::e] (port=38452 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nACPA-0005QN-HV; Wed, 19 Jan 2022 09:57:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=GV6091uuGnk7bNY4y5ou6Y7XaJbOhdXPH+DuFtpUso8=; b=FXxodQWueXvppULg9Z/Q OX6YZObQBJnaz7Tgltg37+ladhPNvNPFu4J1mxRhmQZSvLtjhS8EMkdxo4kJphnqyIWvRKCyl/NhM 9KnF+801wSXLjq9LsMSu19hhizHH+pHZOkwo6SXPnqIK3ql8Qd/8zyrlkUyL0kkPt3/qKglFoWoi2 lEsjhfPPEaHWO0dYYb2R20LyMEC6se0qRh5KfoShAPVraS/5DQ8OpnidN159ksoVolsEN6UGwsAkB Vc3JzWpFoxAlldlE6mZzAKvrwiFn0ExpWOSxNqZqiVcIx5FjiuRcqNyLJPfp0dSrKzfDP1DBVptI6 qwMZZJBJYEh36g==; Original-Received: from [87.69.77.57] (port=1066 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nACP9-0000Mc-MP; Wed, 19 Jan 2022 09:57:44 -0500 In-Reply-To: <87a6frajfg.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 19 Jan 2022 15:28:51 +0100) 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:224606 Archived-At: > From: Lars Ingebrigtsen > Cc: 51733@debbugs.gnu.org, jidanni@jidanni.org > Date: Wed, 19 Jan 2022 15:28:51 +0100 > > Eli Zaretskii writes: > > > Why? .ru is a top-level domain, it doesn't affect what should be > > before the dot, I think? > > > > If you replace "Сгсе.ru" with "Cгсе.ru", you do get a warning. > > Yes. But "Сгсе.ru" is a whole-script confusable with "Crce.ru", and is > therefore suspicious. OK, but why do you think "Сгсе.ru" is confusable? The SLD part is entirely made of single-script characters, and UTS#39 explicitly allows that: [...] it can be perfectly legitimate to have scripts in a SLD (second level domain) not be the same as scripts in a TLD (top-level domain), such as: Cyrillic labels in a domain name with a TLD of .ru or .рф That's your case, isn't it? > >> Is that what they mean here? > > > > I'm not sure I understand the purpose of finding which scripts > > "contain a whole-script confusable with a string X". What are we > > supposed to do with the resulting list? > > I think this standard was written by somebody with a PhD in Philosophy, > and not a programmer, so the language is very high falutin'. > > So they're not actually suggesting that a list should be made, but the > result should be mathematically equivalent with the result of the > mathematical algorithm described. I just don't understand what he's > saying here. Regardless of what they are saying, I don't think the above is suitable for production. I think it should be enough to see whether there could be confusion with the corresponding ASCII characters from confusables.txt.