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

Nico Williams <nico@cryptonector.com> Mon, 12 January 2015 05:46 UTC

Return-Path: <nico@cryptonector.com>
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 ED8BE1A89E9 for <apps-discuss@ietfa.amsl.com>; Sun, 11 Jan 2015 21:46:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level:
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
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 9KjqwPZXUIYX for <apps-discuss@ietfa.amsl.com>; Sun, 11 Jan 2015 21:46:17 -0800 (PST)
Received: from homiemail-a67.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 9A2A31A8895 for <apps-discuss@ietf.org>; Sun, 11 Jan 2015 21:46:17 -0800 (PST)
Received: from homiemail-a67.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a67.g.dreamhost.com (Postfix) with ESMTP id 603F327BC064; Sun, 11 Jan 2015 21:46:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=gFyJmp7lRec/y4 T2o2BqV82AgKI=; b=mzRl8Ddwhr/NVvDImuyfuXqWsEy5xMz2pDJ09E07DwSq8e cPRTcsxMAKiV/i1gNi/OJLsy4I3hiuMnfIDYqymcJXzHMIKt2DwM7B6bFzVvHak5 qamNy2aiUB52nAKE7m6+hfuNq7VYTnrvHJOTeAndSPOuPDiayAG6h4xZGhgLY=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a67.g.dreamhost.com (Postfix) with ESMTPA id 0C40C27BC05D; Sun, 11 Jan 2015 21:46:16 -0800 (PST)
Date: Sun, 11 Jan 2015 23:46:16 -0600
From: Nico Williams <nico@cryptonector.com>
To: Matthew Kerwin <matthew@kerwin.net.au>
Message-ID: <20150112054614.GG16323@localhost>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CACweHNCQZg1U1u8U=-f6h0+BPnp6Wr_T=r_wGiPAbhTbuMCGWQ@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/kcHStoNusiGrfjviur7MfQzlMKw>
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: Mon, 12 Jan 2015 05:46:19 -0000

On Sun, Jan 04, 2015 at 10:22:59PM +1000, Matthew Kerwin wrote:
> 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).

The file scheme is a bit special though in that a hostname could appear
outside the authority part of the URI, right?  Hosts appearing there
should be dealt with as any other non-authority part of an IRI when the
IRI must be fed into a URI slot.

OTOH, RFCs 3986 and 3987 apply, so if a hostname is to appear as an
authority in a file scheme URI/IRI then you know what to do (because
those RFCs tell you what to do).

> BTW who on earth writes localhost as "2130706433"? Or more significantly,
> who on earth *accepts* that as a valid URL?

The browser location bar certainly shouldn't.

Nico
--