Re: 6MAN WG Last Call: draft-ietf-6man-uri-zoneid-00.txt

Carsten Bormann <cabo@tzi.org> Mon, 05 March 2012 22:16 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67E1421F87F4 for <ipv6@ietfa.amsl.com>; Mon, 5 Mar 2012 14:16:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.342
X-Spam-Level:
X-Spam-Status: No, score=-106.342 tagged_above=-999 required=5 tests=[AWL=-0.228, BAYES_00=-2.599, HELO_EQ_DE=0.35, HTTP_ESCAPED_HOST=0.134, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100, WEIRD_PORT=0.001]
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 oIwoKTOqHWne for <ipv6@ietfa.amsl.com>; Mon, 5 Mar 2012 14:16:05 -0800 (PST)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id 08CA321F87EE for <ipv6@ietf.org>; Mon, 5 Mar 2012 14:16:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q25MFi4P017761; Mon, 5 Mar 2012 23:15:45 +0100 (CET)
Received: from [192.168.217.105] (p54899EE6.dip.t-dialin.net [84.137.158.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 351B13EF; Mon, 5 Mar 2012 23:15:44 +0100 (CET)
Subject: Re: 6MAN WG Last Call: draft-ietf-6man-uri-zoneid-00.txt
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset="iso-8859-1"
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <4F552A91.706@innovationslab.net>
Date: Mon, 05 Mar 2012 23:15:41 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <491511B4-6EF7-4052-9A54-9C5A7DF5CC5C@tzi.org>
References: <4F552A91.706@innovationslab.net>
To: Brian Haberman <brian@innovationslab.net>
X-Mailer: Apple Mail (2.1257)
Cc: ipv6@ietf.org, "ipv6-chairs@tools.ietf.org" <ipv6-chairs@tools.ietf.org>, S Moonesamy <sm+ietf@elandsys.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Mar 2012 22:16:05 -0000

This leaves me thoroughly confused.

While the text seems to indicate the contrary, the ABNF makes it clear that

coap://[fe80::a%25en1]/.well-known/core

is intended to indicate the zone ID of "25en1".

This is the only place in a URI where a percent is proposed to be used in stand-alone fashion -- everywhere else it occurs as part of pct-encoded.  For a good reason.

E.g., this works perfectly to talk to localhost in Safari and Chrome:
http://[%3a%3a1]/

Any other character but % (or []A-Fa-f0-9:] of course) would be less confusing for indicating zone-ids.  I'd recommend choosing one from sub-delims, such as * or &.

Grüße, Carsten