Re: [apps-discuss] Review of draft-ietf-appsawg-file-scheme

Martin J. Dürst <duerst@it.aoyama.ac.jp> Tue, 10 May 2016 10:19 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
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 B4FF212D114; Tue, 10 May 2016 03:19:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=itaoyama.onmicrosoft.com
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 n5ypOyIL5ZDi; Tue, 10 May 2016 03:19:48 -0700 (PDT)
Received: from APC01-PU1-obe.outbound.protection.outlook.com (mail-pu1apc01on0134.outbound.protection.outlook.com [104.47.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AEBA12D0F9; Tue, 10 May 2016 03:19:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itaoyama.onmicrosoft.com; s=selector1-it-aoyama-ac-jp; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MvxrQyq3ExsE3TM7jRxKTxXiONZ5dus1jd8+AY7glwk=; b=JkIoCalOhbY9shyFqFxwfi68b11ZfF6wPGMvIBoojkserN174eEaLANdoZ2pKgneA5/QdxmB4fEjMzPKn6Q1GV0ThCTgxO/GsatDYoThMhfPjzCUpvdgJHctXJICb4a1CKuMvI7ba5k/Ieh//oR2AGKfv/TF2zRMMtOY9ks0LE8=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=it.aoyama.ac.jp;
Received: from [133.2.210.64] (133.2.210.64) by OS2PR01MB0916.jpnprd01.prod.outlook.com (10.167.178.22) with Microsoft SMTP Server (TLS) id 15.1.492.11; Tue, 10 May 2016 10:19:44 +0000
To: John C Klensin <john-ietf@jck.com>, Julian Reschke <julian.reschke@gmx.de>, Matthew Kerwin <matthew@kerwin.net.au>
References: <570D4C99.1030405@dcrocker.net> <CACweHND-OX+5okkJ+oE=6UN84x+CFtPBpMnU8HqaPbgQgJ_oWA@mail.gmail.com> <570E2510.4040408@ninebynine.org> <CACweHNCLS+QU2QveqYjkuPnDybbm-dtX9qQPsO4tTkgUoc5QYg@mail.gmail.com> <5710953E.5040505@gmx.de> <CACweHNDuDnP4P-4suUaFpS0OX-CbAYxn39jsZ3O_s-KYn=qbKw@mail.gmail.com> <a16b7cf5-3635-a3cb-b743-850f4047f862@gmx.de> <B3F27B33707E397A452D158D@JcK-HP8200.jck.com>
From: =?UTF-8?Q?Martin_J._D=c3=bcrst?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
Message-ID: <6f2915b6-d36b-fbf6-f8a5-e35cf646faeb@it.aoyama.ac.jp>
Date: Tue, 10 May 2016 19:19:43 +0900
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <B3F27B33707E397A452D158D@JcK-HP8200.jck.com>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
X-Originating-IP: [133.2.210.64]
X-ClientProxiedBy: TYXPR01CA0035.jpnprd01.prod.outlook.com (10.168.40.45) To OS2PR01MB0916.jpnprd01.prod.outlook.com (10.167.178.22)
X-MS-Office365-Filtering-Correlation-Id: 86374628-2957-4c75-b442-08d378bc9b5e
X-Microsoft-Exchange-Diagnostics: 1; OS2PR01MB0916; 2:b54vB2CH3wL+PrO1bag9Z+gTS4Edtas94fmIfR5j+C+s0Gc2Wc52PKTCJTpf8DIFEFnT3S0bNujmFvVAKHGvUCLbT3ft7eITLoI9AI4xZhY0JB6vAT+BSZNq/zur+QGRJbDMVIFYS9BP2YGtZh6jcvU1yGf6kqiGvwuBm2keK6imYePGR9frSQ2CB3ULL4Pq; 3:xr91sXkSGa+Fs9Iswcyj2FLIWri2hfbTGZ+O4tD6+VMH4DSKGdy5lJwjfR92Q8ckvgRaAVjSD8oixZLv1OsJGHSKvfrItcU0MPInCRHmMmJPKH9fSHDUBOjHt/NAuTcT
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:OS2PR01MB0916;
X-Microsoft-Exchange-Diagnostics: 1; OS2PR01MB0916; 25:OtYItmyB3oakr0aUJAuwNir26AcqxuU+aBDVgOEtPVGPoMbKQkhQAAfFaGPyM2gjI6IMGG00Q9EiNs6R1C9xNx92J7gx9BC1sq85/ZsVLpUNFSLzFEOcHT70zj0ejVJWENQpjEf7lJLBM4LZ5nwWtknXE0GsHUswhTv/6oqAn9KwCnZQXmySj+/IOYRMuqJsiXvK5Yvim6175EeLUBjAPQ6MAv2mSdwLpRltlLqbBKgTFJKTcHh3YjyjykyoxsNlFDtU6qNhth7vY+w6U8xhXDsZSKv1fEwb0oXoDGGyibS6RTCq3aAWL/EgIrEz//E7u+D+PWuxLL357gjKDuW/BgosTd1EPFLJUaKUCaigkULZPv32rLOQq0+JOA51bMy2yDDLccbvy4Q4tqmFnBZBPb36aQFjh3veTdaXt2ISzw2jCmfuK8JpsLEDsAmCMXAqwaE5AweAjk1hK4NbxmzTbTsTjsgbbIDemE18KtjIg2ysi4kJI+KOiCtQqndQj5fXmBolJ+6Em7f6fWq0UJwfgmRU7X8hKlCWLmFkASVdMbHEcKRk/EOPx8KgrapLZZlrPBCQtjtUg4nAwQ/nESOArhiogOyYMesPnHIEEOLm3cH0hP5uJL7NdHNT7ftP225KQa7OAhB25wQOCBVp8etc8XTFmixrOe6vlGjyibpJuvi6xHvsGs/o55tf912zlGu2B7ydYSBnXtpYpqfUKlVlcRhmuiEriRjn0F6vWgkUxBbEupGhN5otyVhah3sxNf5NzrCDKXW63HdBdRVXOzMeeGKRiLj9cG05Vc2xwGnLGEQc5SsfwUkOPTY5FB10UHsWToOfCLDyZfdQevMdZO1eu1z79p9/IBEJ9Lf2A15aL1o=
X-Microsoft-Antispam-PRVS: <OS2PR01MB09164E52AAA3F46F955E609BCA710@OS2PR01MB0916.jpnprd01.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040130)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041072)(6043046); SRVR:OS2PR01MB0916; BCL:0; PCL:0; RULEID:; SRVR:OS2PR01MB0916;
X-Microsoft-Exchange-Diagnostics: 1; OS2PR01MB0916; 4:sQ3MYQTCDtbl1IvmYvi6bw43Tb0AtBrGnc5gkZ00qFplOQSlKgwz9kXT+H3SGQTX5BtgXFzu7e/Ox+F2eYCc/lwD2TmdOx2OYzMURFF+yeTnDLBXI/NgAgrjVr1lQpFN6X9RMi10lhjQsqHG8ZWi/04N5TqX2viBoPA7qnEfkPMPBXcPLqlbZi9ooju/cdvgP5q5z8+ZnHsiyQTkeFLEbVmPJEKe31bgFbcRQqGhJKtYFnXlqL9USd8ksW+eed5XBGdNMC7rGz8Dobl7pd3BH+NB9/VIq3QxGRvoxuvsije9wSlt0yc9vqXH3aVI5lKieSmB9AKFVrkSuNqN3wh8Bl+SdYy/PjnZk9qWvEji8oH/GAVbRw0IhwzWIVVXsUzr+tf7vm0sOs5BURxta2P4I0+tyvej8nTpgpgqhDfAZ/M=
X-Forefront-PRVS: 0938781D02
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(6049001)(24454002)(65956001)(31686004)(66066001)(47776003)(74482002)(42186005)(4326007)(230700001)(2950100001)(230783001)(189998001)(15975445007)(81166005)(5001770100001)(77096005)(23676002)(83506001)(2906002)(19580395003)(86362001)(19580405001)(92566002)(33646002)(76176999)(54356999)(64126003)(586003)(6116002)(5008740100001)(50466002)(50986999)(31696002)(65826006)(7059030)(3940600001); DIR:OUT; SFP:1102; SCL:1; SRVR:OS2PR01MB0916; H:[133.2.210.64]; FPR:; SPF:None; MLV:sfv; LANG:en;
X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtPUzJQUjAxTUIwOTE2OzIzOmI1VEtwdXlTV25ydTF4U01ta3AzZUNTVys0?= =?utf-8?B?QmpGbzAxRFVuUUw3YUFJS0xxcFMzMERJRjhCYWxuZkxKOUpMcmd2OUUxQUhB?= =?utf-8?B?QWs2WXdqZEFPWWo4L1d3TnF2WmhEUXNKaGthR3FERGFpNTBsMVpsMlA4TjZY?= =?utf-8?B?azd2UTJ0QnVYZm9tamUyZ2lKZEFOY3ZNdlVEZVVuU3BPT3BuTXpUUDRzRUw2?= =?utf-8?B?RFJEYWhBOUFVTFFTWG14b0VrdG1qNEw3bGNMd2ladE5zbDJkY3NOcHdaSndz?= =?utf-8?B?S0lERndDQjJKYzVtZHNQS25nYnlyNGFvZHpwYXU1byt3NFluME5yRkZPekk4?= =?utf-8?B?K1hyZGUxdVg2anJsNGh5SmFBU2RDVUI2RWJERnVjK2tsOVlnMHg4Rm5mQ2xJ?= =?utf-8?B?bkNHNVFJa3ZqVVFSelZnWHNBZERtNys0NXloTEpMWDR6bHd5T3IvYXZqMHp2?= =?utf-8?B?dnk1dWx0dnhNbTJvMEpIK1B2SHo4WmlwYkxTeklHMmxkQ0hBdlhjZHlQVTd1?= =?utf-8?B?TU9JM0hqcHl3OWRMOUxOWm5pZVFLZjYvakxFWnNYWHFLU0pUT0JMeUIrOUdT?= =?utf-8?B?ajZTK010SXRTVHFCMUVvZjhTRVQ5OE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KUac2d95BtdEmJxPqErr2KnA2UVS0jUtyZi7iUiutUV59vx9ciQTZG+iaNZ1b/UVH6SXx7MDLpGnMR3tJEWhd73w==; 24:Si/EPQlJSaF5nkZc58gghcH+wVbmEMGeCIB0tRmKnIfmR/TJHFR5FqLIY14YJpauhKpYmpUnTf78VqbaJUvuMnM2oHjU3GfK6udJSAxwuwI=; 7:ZG2WpN4VwYKB4QXmrpOc9B7c+qhg5IYaSQnVThCEkQOSczNHuShx5jzb9SmTxXBw/3rwN+gYzHQmBpijsxFw2UNvbJogqAnTTEiGMeslb+Y1pu7QxxZiEQCgHZXeSToSLmTyAV690hbkNSOMzHF79/KCZwLwRFMqeyElmfezU2M6OB45KhmsHtPBqBmhTdwP
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: it.aoyama.ac.jp
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2016 10:19:44.3512 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS2PR01MB0916
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/zdA0tSrz61wodczATDyxqCRYomI>
Cc: IETF Apps Discuss <apps-discuss@ietf.org>, draft-ietf-appsawg-file-scheme@ietf.org
Subject: Re: [apps-discuss] Review of draft-ietf-appsawg-file-scheme
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: Tue, 10 May 2016 10:19:51 -0000

On 2016/05/09 01:26, John C Klensin wrote:
>
>
> --On Saturday, May 07, 2016 11:31 +0200 Julian Reschke
> <julian.reschke@gmx.de> wrote:
>
>>> Care must be taken to avoid issues resulting from aliasing
>>> from mismatched encodings or Unicode equivalences.
>>> ""
>>
>> That can't hurt.
>>
>> I wonder whether we can say something useful about how to map
>> Unicode code points into the file URI (that is, before
>> percent-encoding the UTF-8 octets). Is it a good idea to apply
>> unicode normalization at this step? (I don't know but maybe
>> others do?)

In general, NFC gives you a higher chance for a match that NFD. The Mac 
filesystem uses (mostly) NFD internally, but is able to handle NFC. On 
the other hand, Windows and Linux don't do normalization inside the file 
system, but the chances that files were created in NFC is higher than 
for NFC.

But milage(s) may vary.

Regards,   Martin.


> The developing conventional wisdom outside the IETF is to not
> bother (and run the risk of normalization losing information or
> causing other problems) but to save normalization for the actual
> point at which the URI or other identifier is interpreted.  In
> the particular case of "file" that might be particularly
> important since some systems prefer different normalization
> forms and have different restrictions.
>
> Note that is not necessarily advice, just a report.
>
>    john
>
>
>
>
>
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
> .
>