Re: Comments on draft-farrell-decade-ni-06

"Martin J. Dürst" <duerst@it.aoyama.ac.jp> Tue, 12 June 2012 10:56 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0685221F8557 for <ietf@ietfa.amsl.com>; Tue, 12 Jun 2012 03:56:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.648
X-Spam-Level:
X-Spam-Status: No, score=-99.648 tagged_above=-999 required=5 tests=[AWL=0.142, BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, MIME_8BIT_HEADER=0.3, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xUKRDUjGf+ds for <ietf@ietfa.amsl.com>; Tue, 12 Jun 2012 03:56:58 -0700 (PDT)
Received: from scintmta02.scbb.aoyama.ac.jp (scintmta02.scbb.aoyama.ac.jp [133.2.253.34]) by ietfa.amsl.com (Postfix) with ESMTP id 34FB321F851C for <ietf@ietf.org>; Tue, 12 Jun 2012 03:56:58 -0700 (PDT)
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id q5CAuv9Q021421 for <ietf@ietf.org>; Tue, 12 Jun 2012 19:56:57 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 05ee_e0ee_5430c37a_b47d_11e1_a138_001d096c566a; Tue, 12 Jun 2012 19:56:56 +0900
Received: from [IPv6:::1] ([133.2.210.1]:39493) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15D1710> for <ietf@ietf.org> from <duerst@it.aoyama.ac.jp>; Tue, 12 Jun 2012 19:57:01 +0900
Message-ID: <4FD72075.6060200@it.aoyama.ac.jp>
Date: Tue, 12 Jun 2012 19:56:53 +0900
From: "\"Martin J. Dürst\"" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Subject: Re: Comments on draft-farrell-decade-ni-06
References: <6kk2t71ghjalf43tqu14pvcnisoarv924g@hive.bjoern.hoehrmann.de> <4FD34E9F.4060904@cs.tcd.ie>
In-Reply-To: <4FD34E9F.4060904@cs.tcd.ie>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jun 2012 10:56:59 -0000

Hello Stephen,

On 2012/06/09 22:24, Stephen Farrell wrote:
>
> Hi Björn,
>
> On 06/08/2012 03:16 AM, Bjoern Hoehrmann wrote:
>> I think the requirement in RFC 4395 section 2.6 applies here, there are
>> text fields in 'ni' and 'nih' addresses, so there needs to be some dis-
>> cussion about I18N and IRI issues, or a statement that there are none,
>> or something along those lines. What if I want a non-ASCII host name in
>> them, for instance?
>
> So what's reasonable here?
>
> We're inheriting some definitions (authority, unreserved&
> pct-encoded) from 3986 and I'd not like to break that, nor
> would I like something that doesn't work with most libraries.
>
> Any suggestions?

I shouldn't have missed I18N and IRI issues in my apps review.

For IDNs in the authority part, you are essentially safe because RFC 
3986 says exactly how to handle this (%-encoding based on UTF-8; 
alternatively punycode (A-Labels), for which library suppor may be 
better than for the former). You don't have to say anything about this, 
but you can say something if you think it's useful for implementers and 
if it's limited to a non-normative pointer (to the last paragraph of 
http://tools.ietf.org/html/rfc3986#section-3.2.2).

For the query part, you should put in the following text (or an equivalent):

For compatibility with IRIs, non-ASCII characters in the query part MUST 
be encoded as UTF-8, and the resulting octets MUST be %-encoded (see 
http://tools.ietf.org/html/rfc3986#section-2.1).

My understanding is that there's no danger for getting non-ASCII 
characters in the path part, and that fragments are separate anyway.

Regards,   Martin.