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

Daniel Stenberg <daniel@haxx.se> Fri, 26 September 2014 08:42 UTC

Return-Path: <daniel@haxx.se>
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 58EC61A004D for <apps-discuss@ietfa.amsl.com>; Fri, 26 Sep 2014 01:42:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.037
X-Spam-Level:
X-Spam-Status: No, score=-4.037 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_I_LETTER=-2, HELO_EQ_SE=0.35, MIME_8BIT_HEADER=0.3, RP_MATCHES_RCVD=-0.786, SPF_PASS=-0.001] 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 Fg43r-b9b-M6 for <apps-discuss@ietfa.amsl.com>; Fri, 26 Sep 2014 01:41:58 -0700 (PDT)
Received: from giant.haxx.se (www.haxx.se [IPv6:2a00:1a28:1200:9::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 763311A0016 for <apps-discuss@ietf.org>; Fri, 26 Sep 2014 01:41:57 -0700 (PDT)
Received: from giant.haxx.se (localhost.localdomain [127.0.0.1]) by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id s8Q8fsXj030851 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Sep 2014 10:41:54 +0200
Received: from localhost (dast@localhost) by giant.haxx.se (8.14.4/8.14.4/Submit) with ESMTP id s8Q8fqG8030834; Fri, 26 Sep 2014 10:41:52 +0200
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Fri, 26 Sep 2014 10:41:52 +0200
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
In-Reply-To: <54251F1C.4030505@it.aoyama.ac.jp>
Message-ID: <alpine.DEB.2.00.1409261026220.23141@tvnag.unkk.fr>
References: <20140926010029.26660.82167.idtracker@ietfa.amsl.com> <EAACE200D9B0224D94BF52CF2DD166A425A68A90@ex10mb6.qut.edu.au> <CACweHNBEYRFAuw9-vfeyd_wf703cvM3ykZoRMqAokRFYG_O7hQ@mail.gmail.com> <alpine.DEB.2.00.1409260839270.23141@tvnag.unkk.fr> <54251F1C.4030505@it.aoyama.ac.jp>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="1129329158-728051283-1411720913=:23141"
Archived-At: http://mailarchive.ietf.org/arch/msg/apps-discuss/5bsUiQH_mQTPok053ovQJpDbNPU
Cc: IETF Apps Discuss <apps-discuss@ietf.org>
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: Fri, 26 Sep 2014 08:42:00 -0000

On Fri, 26 Sep 2014, "Martin J. Dürst" wrote:

>> The query part. It didn't exist in 1738, so introducing that now will break 
>> a lot of old parsers (like mine) even if I recognize that 3986 says that it 
>> should be supported globally. This, for just a vague extension model 
>> without any clear purpose or use case.
>
> It is the first time that I have seen somebody claim that RFC 3986 says that 
> all URI schemes have to support query parts. I'd like to know where in RFC 
> 3986 you found that. Indeed my understanding is that most schemes don't 
> understand or include query parts. The main (but very important) exceptions 
> as far as I'm aware of are http:/https: and mailto:.

Maybe this is just me, but that's my reading of RFC 3986 section 3:

    3.  Syntax Components

    The generic URI syntax consists of a hierarchical sequence of
    components referred to as the scheme, authority, path, query, and
    fragment.

There exists language in 3986 suggesting that things differ between protocols 
but reading that section 3 doesn't make it obvious to me that the query part 
can be opted out (even if as I already mentioned by own parsers do). Not even 
3.4 that details query mentions that.

Section 2.2 also lists '?' as a "Reserved character" also in a generic way and 
it is listed as a delimiter but then goes on to rather mysteriously say:

   "URI producing applications should percent-encode data octets that
    correspond to characters in the reserved set unless these characters
    are specifically allowed by the URI scheme to represent data in that
    component."

... but the file: section of RFC1738 doesn't mention what letters that are 
legal in the path part so it's not clear to me if '?' is a delimiter or part 
of the path, spec-wise.

-- 

  / daniel.haxx.se