Re: [EAI] Localpart normalization (was Re: Downgrade Design Team Discussion Results Released)

John C Klensin <klensin@jck.com> Fri, 19 March 2010 04:59 UTC

Return-Path: <klensin@jck.com>
X-Original-To: ima@core3.amsl.com
Delivered-To: ima@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B1C7F3A6A01 for <ima@core3.amsl.com>; Thu, 18 Mar 2010 21:59:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.442
X-Spam-Level:
X-Spam-Status: No, score=-0.442 tagged_above=-999 required=5 tests=[AWL=-1.573, BAYES_50=0.001, DNS_FROM_OPENWHOIS=1.13]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PpYASU+fpjMR for <ima@core3.amsl.com>; Thu, 18 Mar 2010 21:59:35 -0700 (PDT)
Received: from bs.jck.com (ns.jck.com [209.187.148.211]) by core3.amsl.com (Postfix) with ESMTP id C95AF3A67D1 for <ima@ietf.org>; Thu, 18 Mar 2010 21:59:32 -0700 (PDT)
Received: from [127.0.0.1] (helo=localhost) by bs.jck.com with esmtp (Exim 4.34) id 1NsUJD-0008Bu-UK; Fri, 19 Mar 2010 00:59:44 -0400
Date: Fri, 19 Mar 2010 00:59:43 -0400
From: John C Klensin <klensin@jck.com>
To: Peter Saint-Andre <stpeter@stpeter.im>, ima@ietf.org
Message-ID: <21AF5204CCDECAD3938BAA0D@PST.JCK.COM>
In-Reply-To: <4BA2FA0A.7080301@stpeter.im>
References: <468003898.09293@cnnic.cn> <468721920.28140@cnnic.cn> <4BA2B96F.2050906@isode.com> <CB9B6E25FC401E397C93A8B1@PST.JCK.COM> <4BA2FA0A.7080301@stpeter.im>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Subject: Re: [EAI] Localpart normalization (was Re: Downgrade Design Team Discussion Results Released)
X-BeenThere: ima@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "EAI \(Email Address Internationalization\)" <ima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ima>, <mailto:ima-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ima>
List-Post: <mailto:ima@ietf.org>
List-Help: <mailto:ima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ima>, <mailto:ima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Mar 2010 04:59:35 -0000

--On Thursday, March 18, 2010 22:14 -0600 Peter Saint-Andre
<stpeter@stpeter.im> wrote:

>> Alexey, FWIW, RFC 5198 suggests NFC and explains why.  Unless
>> there is a really strong reason to do something else, my
>> recommendation is that all three of these specs conform to
>> that recommendation.
> 
> Unfortunately, both Nodeprep (RFC 3920) and SASLprep (RFC
> 4013) used NFKC, not NFC.

So did Nameprep.  Unfortunately, NFKC is _very_ dangerous.  It
combines several different transformations, some quite
reasonable and obvious and some that are basically the UTC's
revenge on people who made them add characters they didn't want
to add.    The latter part results in characters being mapped
together that those who wanted them in Unicode think are
separate.

     john