Re: [I18nrp] Mappings for IDNA2008 ?

"Patrik Fältström " <> Fri, 08 February 2019 19:47 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id E1A3A130F74 for <>; Fri, 8 Feb 2019 11:47:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.722
X-Spam-Status: No, score=-1.722 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id qnz5JWh-EcTV for <>; Fri, 8 Feb 2019 11:47:27 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 33BA2130F72 for <>; Fri, 8 Feb 2019 11:47:27 -0800 (PST)
Received: from [] (unknown [IPv6:2a02:80:3ffc:0:932:a0b9:61be:d623]) by (Postfix) with ESMTPSA id CDFD523899; Fri, 8 Feb 2019 20:47:24 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;; s=mail; t=1549655244; bh=qMNo3Su87+GupmUiYYkGPCoGqYuklWVCalRwG8oo2q4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uO7BQK7pxsoKCNz6bV8Xwr6HloM4IyHNvVaFKXd6m0ouzGgNieSq/5Or3tpIrczwL SLqWUYJEdGYQTCyJm0YUoLp9KBGlDz/noSZWNHwXe5eYn+PTecOkEQvyqKRL08BNaO Gt6ZVLguSsutqc3Mnwr9R8EIeoR0ayI3DHM4NHEU=
From: "Patrik =?utf-8?b?RsOkbHRzdHLDtm0=?=" <>
To: "Andrew Sullivan" <>
Date: Fri, 08 Feb 2019 20:47:24 +0100
X-Mailer: MailMate (1.12.4r5597)
Message-ID: <>
In-Reply-To: <>
References: <20190204225047.02583200DC1666@ary.qy> <> <> <> <> <> <> <> <> <>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=_MailMate_AB4DD9E9-B485-42C7-A4D8-0B85031432F9_="; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <>
Subject: Re: [I18nrp] Mappings for IDNA2008 ?
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Internationalization Review Procedures <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 08 Feb 2019 19:47:29 -0000

On 8 Feb 2019, at 20:38, Andrew Sullivan wrote:

> On Fri, Feb 08, 2019 at 08:16:39PM +0100, Patrik Fältström wrote:
>>  modified with the delta that the LOCALE defines.
> I'm still trying to understand how you know what the locale of the various network identifiers are.  People might recall that this was one of the problems we have identified as a serious issue in the past.
> You can know what the locale is, maybe, at lookup time, but since the information doesn't travel around with the identifier you can't know what the locale is at creation time.  And that, of course, is how you get a security problem out of this.

For example, if I as a user with $LC_CTYPE == sv_SE.UTF-8 do type or view a string of characters, then I am pretty sure I am interested in having case folding and others things mapped according to that LOCALE. But only when/if the input/output should include such mappings. Most of them should probably not have any mappings at all.

And what you point out about security is once again exactly why IDNA2008 is not including any mappings at all. It gives the ability for the application to do the mapping of characters in such a way that the rendered glyphs are such that the end user is not surprised. And that might be very different for me than you. Depending on for example LC_CTYPE.