Re: Options for draft-ietf-6man-uri-zoneid

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 08 May 2012 14:42 UTC

Return-Path: <brian.e.carpenter@gmail.com>
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 21FC421F85AD for <ipv6@ietfa.amsl.com>; Tue, 8 May 2012 07:42:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.308
X-Spam-Level:
X-Spam-Status: No, score=-103.308 tagged_above=-999 required=5 tests=[AWL=-0.143, BAYES_00=-2.599, HTTP_ESCAPED_HOST=0.134, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1, 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 BB5Hie5K-xDi for <ipv6@ietfa.amsl.com>; Tue, 8 May 2012 07:42:40 -0700 (PDT)
Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by ietfa.amsl.com (Postfix) with ESMTP id C56F221F8542 for <ipv6@ietf.org>; Tue, 8 May 2012 07:42:39 -0700 (PDT)
Received: by eekd4 with SMTP id d4so716507eek.31 for <ipv6@ietf.org>; Tue, 08 May 2012 07:42:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=+kl60BOaXLRNfnexeEJQqIGHgqAIE7rqAtHIxlCxcJQ=; b=Fj0MiiISVSt8V2MoCsKQ6GWgAY28ouO/0RsWcQKCbTw4ywwrgU39ZIW+8RroS44mKS jyVtGKHITLEQLW4Ec/NxEoAaEuEogNI1NEA8iIe3zqXnmeijp/qOOjCrf20KwabfVzxt nuzBPo2uAV83J/K2gJOIqqZPNOAuXeMy+XXTRjeLMQaxDn7HuteWXoGsfABJpeUXiCvh JkncLBYJ4naxO3X+Oi4OkKeYT3anRKDTc93lnEIuxSusG8g9greHV5tO24+P+ogdnUkF ehZdaqpSRq8vK16aQW0g8r5jFA8i6Q4mXLzm0EqlvsdglrL3BRcUtXroX+1/QN4Nowm4 GdKQ==
Received: by 10.213.22.212 with SMTP id o20mr900058ebb.67.1336488159015; Tue, 08 May 2012 07:42:39 -0700 (PDT)
Received: from [128.232.110.88] (c088.al.cl.cam.ac.uk. [128.232.110.88]) by mx.google.com with ESMTPS id f16sm72671530eec.2.2012.05.08.07.42.36 (version=SSLv3 cipher=OTHER); Tue, 08 May 2012 07:42:37 -0700 (PDT)
Message-ID: <4FA930DB.6040705@gmail.com>
Date: Tue, 08 May 2012 15:42:35 +0100
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Ole Trøan <otroan@employees.org>
Subject: Re: Options for draft-ietf-6man-uri-zoneid
References: <4F9CF3A8.7000801@gmail.com> <81B7AF4C-95E9-43C1-A344-70F92E04CF35@employees.org> <4FA92D0C.3070006@gmail.com> <7FBFE026-878F-4635-B3AB-D08685595C26@employees.org>
In-Reply-To: <7FBFE026-878F-4635-B3AB-D08685595C26@employees.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: 6man <ipv6@ietf.org>
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: Tue, 08 May 2012 14:42:41 -0000

On 2012-05-08 15:35, Ole Trøan wrote:
>>>> 1) Leave the problem unsolved.
>>>>
>>>> This would mean that per-interface diagnostics would still have to be
>>>> performed using ping or ping6
>>>>
>>>>  ping fe80::a%en1
>>>>
>>>> Advantage: works today.
>>>>
>>>> Disadvantage: less convenient than using a browswer.
>>>>
>>>> 2) Escaping the escape character as allowed by RFC 3986:
>>>>
>>>>  http://[fe80::a%25en1]
>>>>
>>>> Advantage: allows use of browser.
>>>> Disadvantage: ugly and confusing, doesn't allow simple cut and paste.
>>> if we went with option 2; considering that most browsers accept other inputs than URIs,
>>> could the UI input be as today (fe80::a%en1) and the URI representation as (fe80::a%25en1)?
>> As far as I can tell, current browsers have dropped this, even if
>> Kerry still uses it in an ancient Firefox. IMHO this is not a viable
>> option for the browser folk.
> 
> perhaps I'm missing something, but this is what on the bleeding edge Chrome does too.

I suppose it depends on the religious convictions of the people who
write the URI parsers. The only clean solution is to get what we want
into the formal syntax, and there I feel no hope whatever.

> 
>>> presumably also with other characters in the interface name escaped.
>>> e.g. if I input "interface Dot11Radio0/0/0" in Chrome's address bar I get
>>> "interface+Dot11Radio0%2F0%2F0"
>> There seems to be no way out of that whatever we do.
> 
> if the string has to be escaped regardless, and that UI's may handle this for the end user, what would be the reason to not go with an escaped '%' (%25)?

Well, I'm not sure the UIs can be relied on for that. As above, it
depends whether the parsers are strict or sloppy about following
the ABNF.

   Brian