Re: [apps-discuss] Fwd: FW: New Version Notification for draft-kerwin-file-scheme-13.txt

Sam Ruby <rubys@intertwingly.net> Sun, 04 January 2015 13:33 UTC

Return-Path: <rubys@intertwingly.net>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E530F1A88F8 for <apps-discuss@ietfa.amsl.com>; Sun, 4 Jan 2015 05:33:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.9
X-Spam-Level:
X-Spam-Status: No, score=-3.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_I_LETTER=-2, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X4iCh0DjvxTI for <apps-discuss@ietfa.amsl.com>; Sun, 4 Jan 2015 05:32:59 -0800 (PST)
Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) by ietfa.amsl.com (Postfix) with ESMTP id B3FFC1A88D6 for <apps-discuss@ietf.org>; Sun, 4 Jan 2015 05:32:59 -0800 (PST)
Received: from [98.27.51.253] ([98.27.51.253:19881] helo=rubix) by cdptpa-oedge01 (envelope-from <rubys@intertwingly.net>) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 37/E8-30224-A0149A45; Sun, 04 Jan 2015 13:32:59 +0000
Received: from [192.168.1.102] (unknown [192.168.1.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rubys) by rubix (Postfix) with ESMTPSA id B541B140A15; Sun, 4 Jan 2015 08:32:57 -0500 (EST)
Message-ID: <54A94109.5010901@intertwingly.net>
Date: Sun, 04 Jan 2015 08:32:57 -0500
From: Sam Ruby <rubys@intertwingly.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Matthew Kerwin <matthew@kerwin.net.au>
References: <20140926010029.26660.82167.idtracker@ietfa.amsl.com> <EAACE200D9B0224D94BF52CF2DD166A425A68A90@ex10mb6.qut.edu.au> <CACweHNBEYRFAuw9-vfeyd_wf703cvM3ykZoRMqAokRFYG_O7hQ@mail.gmail.com> <DM2PR0201MB09602B351692D424A49C6B0DC3650@DM2PR0201MB0960.namprd02.prod.outlook.com> <CACweHNBN_Bv=jeXQ_VwXi2HzHKNEwZJ1NiF-BJJo_9-mhO60gQ@mail.gmail.com> <54A557E1.6050502@intertwingly.net> <CACweHNCQZg1U1u8U=-f6h0+BPnp6Wr_T=r_wGiPAbhTbuMCGWQ@mail.gmail.com>
In-Reply-To: <CACweHNCQZg1U1u8U=-f6h0+BPnp6Wr_T=r_wGiPAbhTbuMCGWQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-RR-Connecting-IP: 107.14.168.118:25
X-Cloudmark-Score: 0
Archived-At: http://mailarchive.ietf.org/arch/msg/apps-discuss/UWt8buXMThittnu6_vpwzW0EGKg
Cc: IETF Apps Discuss <apps-discuss@ietf.org>, Larry Masinter <masinter@adobe.com>
Subject: Re: [apps-discuss] Fwd: FW: New Version Notification for draft-kerwin-file-scheme-13.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 04 Jan 2015 13:33:02 -0000

On 01/04/2015 07:22 AM, Matthew Kerwin wrote:
>
> On 2 January 2015 at 00:21, Sam Ruby <rubys@intertwingly.net
> <mailto:rubys@intertwingly.net>> wrote:
>
>     A few concrete examples are here:
>
>     http://www.ietf.org/mail-__archive/web/apps-discuss/__current/msg13511.html
>     <http://www.ietf.org/mail-archive/web/apps-discuss/current/msg13511.html>
>
>     It is my hope that by comparing notes we can converge.
>
> ​To be honest, a big reason for using RFC 3986 as a normative reference
> is so I don't have to deal with things like hostnames. If those
> definitions are good enough for the shiny new HTTP/1.1 (which actually
> uses hostnames) then surely they're also sufficient for file: (which
> often doesn't).
>
> BTW who on earth writes localhost as "2130706433"? Or more
> significantly, who on earth *accepts* that as a valid URL?

I cited three specific examples in:

http://www.ietf.org/mail-archive/web/apps-discuss/current/msg13511.html

All three of the below are accepted by Chrome, and possibly others:

file://2130706433/foo
file://[2001::1]/foo
file://0Xc0.0250.01/foo

Note that RFC 3986 requires square brackets around IPv6 names, but your 
draft does not.  The final example involves IDNA processing. 
Unfortunately, IDNA processing can't be avoided, nor does RFC 3986 
specify it.

>         I guess I could add support for backslashes. I suspect that
>         would end up
>         in a non-normative appendix, along with the "|" drive letter
>         separator
>         (as suggested in an earlier message, and currently being worked
>         into the
>         next draft.)
>
>
>     I don't understand the thought process here. The current
>     Internet-Draft takes care to document a select few browser specific
>     syntaxes, but many others (including the ones you mention above) are
>     not included.  What is the selection criteria you are using?
>
> For the most part: things that aren't silly (big-endian integer encoding
> of IPv4 addresses), things that aren't widely touted as obsolete (like
> backslashes[1]), and as much as possible, things that go against the
> parent standards (like trying to jimmy "/c|/" into RFC 3986).
>
> Importantly, I don't want to include every codepath in every
> implementation that exists, but I don't want the definition I write to
> *not* work in any implementations.
>
> [1] http://blogs.msdn.com/b/ie/archive/2006/12/06/file-uris-in-windows.aspx

You have a definition for a "windows-path" and a "unc-path".  These are 
unlikely to work on Android or OS/X.

Firefox does not appear to support host for file: URIs.

> --
>    Matthew Kerwin
> http://matthew.kerwin.net.au/

- Sam Ruby