Re: [apps-discuss] I-D Action: draft-ietf-appsawg-file-scheme-07.txt

Graham Klyne <gk@ninebynine.org> Wed, 20 April 2016 23:18 UTC

Return-Path: <gk@ninebynine.org>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D4D4712D5EA for <apps-discuss@ietfa.amsl.com>; Wed, 20 Apr 2016 16:18:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=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 cppK0MOiFdCd for <apps-discuss@ietfa.amsl.com>; Wed, 20 Apr 2016 16:18:51 -0700 (PDT)
Received: from relay14.mail.ox.ac.uk (relay14.mail.ox.ac.uk [163.1.2.162]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B889912D194 for <apps-discuss@ietf.org>; Wed, 20 Apr 2016 16:18:51 -0700 (PDT)
Received: from smtp5.mail.ox.ac.uk ([163.1.2.207]) by relay14.mail.ox.ac.uk with esmtp (Exim 4.80) (envelope-from <gk@ninebynine.org>) id 1at1OF-0006F5-lv; Thu, 21 Apr 2016 00:18:35 +0100
Received: from gklyne38.plus.com ([81.174.129.24] helo=sasharissa.local) by smtp5.mail.ox.ac.uk with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <gk@ninebynine.org>) id 1at1OF-0003i9-IM; Thu, 21 Apr 2016 00:18:35 +0100
Message-ID: <57180E49.1090909@ninebynine.org>
Date: Thu, 21 Apr 2016 00:18:33 +0100
From: Graham Klyne <gk@ninebynine.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Matthew Kerwin <matthew@kerwin.net.au>, IETF Apps Discuss <apps-discuss@ietf.org>, Murray Kucherawy <superuser@gmail.com>
References: <20160420052342.31621.37367.idtracker@ietfa.amsl.com> <CACweHNBh+_EUu8Upj-8JmRtPNZvBV3UAd--MG920V6Xbby-=Ww@mail.gmail.com>
In-Reply-To: <CACweHNBh+_EUu8Upj-8JmRtPNZvBV3UAd--MG920V6Xbby-=Ww@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Oxford-Username: zool0635
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/6UVLF1mEhKuxI8iFNHWsx0o0l-E>
Cc: Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, Dave Crocker <dcrocker@bbiw.net>
Subject: Re: [apps-discuss] I-D Action: draft-ietf-appsawg-file-scheme-07.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 20 Apr 2016 23:18:54 -0000

Hi Matthew,

I think the main body of the document is a lot crisper now.  I have a couple of 
comments from a fairly quick scan.  The main substantive comment is that local 
access can occur when the file URI contains a host name which is the same as 
that for the host from which access is being attempted.

I've not done a detailed read through of the appendices - much of the material 
there is outside my experience.

...

Section 2:

[[
    Some file systems allow directory objects to be treated as files in
    some cases.  This can be reflected in a file URI by omitting the
    trailing slash "/" from the path.  Be aware that merging a relative
    URI reference to such a base URI as per Section 5.2 of [RFC3986]
    could remove the directory name from the resulting target URI.
]]

I think the second sentence is wandering into local implementation details.  I'd 
suggest focusing more on the idea that the trailing slash should be included in 
URIs that refer to directories.

...


Section 3:

[[
    A file URI can be dependably dereferenced or translated to a local
    file path only if it is local.  A file URI is considered "local" if
    it has no "file-auth", or the "file-auth" is the special string
    "localhost".
]]

There's also the case when the hostname resolves to the local host.

#g
--



On 20/04/2016 06:43, Matthew Kerwin wrote:
> Hi everyone,
>
> I've pushed out an -07 version of the file URI draft. It's substantially
> different from 06, mostly in removing a bunch of text from the main body
> (some of which is now located in appendices).
>
> As mentioned, or at least hinted, in my email replies, I've adopted most of
> the changes recommended by Dave Crocker and Graham Klyne in their reviews.
> There are still a couple of 'fixmes' though:
>
> * I haven't touched Dave's suggestion that I cut back the Encoding section.
>
> * The Security Considerations mentions possible issues from case-sensitive
> aliasing, but still hasn't got anything addressing Julian Reschke's advice
> to include encoding/Unicode normalization.
>
> * There are a couple of places in the text where the normativity of
> statements isn't clear. These are marked by a "(?)"
>
> * I'm not sure how to address Mark Nottingham's questions about fitting in
> with WWW specs like FETCH, URL, and Origin.
>
> Other than that, I personally feel like this is the best version of the
> draft I've submitted. The main spec body is down to four pages (about 8
> pages with headers and references), and it's really clear what is defined
> (a normative syntax) and what is not (all the optional/non-standard stuff
> in the appendices.)
>
> I think it's definitely a substantial enough change to warrant being put
> back to WGLC.
>
> Further reviews are, as always, appreciated. Assuming no blockers emerge
> I'll try to keep future changes very small and manageable.
>
> Cheers
>
> On 20 April 2016 at 15:23, <internet-drafts@ietf.org> wrote:
>
>>
>> A New Internet-Draft is available from the on-line Internet-Drafts
>> directories.
>> This draft is a work item of the ART Area General Applications Working
>> Group of the IETF.
>>
>>          Title           : The file URI Scheme
>>          Author          : Matthew Kerwin
>>          Filename        : draft-ietf-appsawg-file-scheme-07.txt
>>          Pages           : 19
>>          Date            : 2016-04-19
>>
>> Abstract:
>>     This document specifies the "file" Uniform Resource Identifier (URI)
>>     scheme, obsoleting the definition in RFC 1738.
>>
>>     It defines a common syntax which is intended to interoperate across
>>     the broad spectrum of existing usages.  At the same time it notes
>>     some other current practices around the use of file URIs.
>>
>> Note to Readers (To be removed by the RFC Editor)
>>
>>     This draft should be discussed on the IETF Applications Area Working
>>     Group discussion list <apps-discuss@ietf.org>rg>.
>>
>>
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-ietf-appsawg-file-scheme/
>>
>> There's also a htmlized version available at:
>> https://tools.ietf.org/html/draft-ietf-appsawg-file-scheme-07
>>
>> A diff from the previous version is available at:
>> https://www.ietf.org/rfcdiff?url2=draft-ietf-appsawg-file-scheme-07
>>
>>
>> Please note that it may take a couple of minutes from the time of
>> submission
>> until the htmlized version and diff are available at tools.ietf.org.
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>> _______________________________________________
>> apps-discuss mailing list
>> apps-discuss@ietf.org
>> https://www.ietf.org/mailman/listinfo/apps-discuss
>>
>
>
>
>
>
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
>