Re: [Cbor] MIME tag 257 vs 36

Laurence Lundblade <lgl@island-resort.com> Fri, 18 September 2020 06:20 UTC

Return-Path: <lgl@island-resort.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A61753A0B64 for <cbor@ietfa.amsl.com>; Thu, 17 Sep 2020 23:20:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.917
X-Spam-Level:
X-Spam-Status: No, score=-1.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] 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 HarykxtLgge1 for <cbor@ietfa.amsl.com>; Thu, 17 Sep 2020 23:20:56 -0700 (PDT)
Received: from p3plsmtpa09-07.prod.phx3.secureserver.net (p3plsmtpa09-07.prod.phx3.secureserver.net [173.201.193.236]) (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 09B223A0B6D for <cbor@ietf.org>; Thu, 17 Sep 2020 23:20:55 -0700 (PDT)
Received: from [172.20.101.184] ([12.29.104.20]) by :SMTPAUTH: with ESMTPA id J9lPkqewNZ9hyJ9lPkLgca; Thu, 17 Sep 2020 23:20:55 -0700
X-CMAE-Analysis: v=2.3 cv=BeCmLYl2 c=1 sm=1 tr=0 a=bDV9F4HViGxlAqk2TtlXQA==:117 a=bDV9F4HViGxlAqk2TtlXQA==:17 a=IkcTkHD0fZMA:10 a=K6EGIJCdAAAA:8 a=gKmFwSsBAAAA:8 a=48vgC7mUAAAA:8 a=cpjBINAjXAlGFmLCMaUA:9 a=QEXdDO2ut3YA:10 a=L6pVIi0Kn1GYQfi8-iRI:22 a=nnPW6aIcBuj1ljLj_o6Q:22 a=w1C3t2QeGrPiZgrLijVG:22
X-SECURESERVER-ACCT: lgl@island-resort.com
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: Laurence Lundblade <lgl@island-resort.com>
In-Reply-To: <D4F397FE-79BF-41A5-9B14-3C2D9E7A83FA@island-resort.com>
Date: Thu, 17 Sep 2020 23:20:54 -0700
Cc: cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <C4D07067-D855-401F-9EA5-5F11F3896835@island-resort.com>
References: <77902B73-54E2-455C-88D3-D9CC62EDD84E@island-resort.com> <4271C433-0B38-4B05-AD44-01830EDBD834@tzi.org> <D4F397FE-79BF-41A5-9B14-3C2D9E7A83FA@island-resort.com>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
X-CMAE-Envelope: MS4wfOInsz7AggaxpsXtBcWUSG02SwFmziPZBvd/kRvLMN/6PfQXadPQ5p1N9G6bwpTCbNT7CEJ64m5J/Eft1gV4+1nwupAfZ5rzwO7XZnutVzW2YrqxslmH ky+WdExp65cpUkzvugNe1ebR2FJfufVZ1W3aBvpz7l6mQaKPULtcSEdoPANCznAIybegfaPllj5Xig==
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/_N2--0hLzyFQ0fBOsDUZDcwLBaQ>
Subject: Re: [Cbor] MIME tag 257 vs 36
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2020 06:20:58 -0000

Shouldn’t both these MIME tags require canonical CRLF line endings? How else are the line endings going to end up correctly?

Makes me wonder about major type 3 too.  My understanding is that Unicode handles line endings like ASCII, it is neutral and happy to have CR, LF or CRLF so type 3 is neutral.

Text files are somewhat less common these days, but git still does conversion. CBOR could have a tag that indicates something is text with canonical CRLF line endings.

LL



> On Sep 16, 2020, at 11:52 AM, Laurence Lundblade <lgl@island-resort.com> wrote:
> 
> 
>> On Sep 16, 2020, at 9:22 AM, Carsten Bormann <cabo@tzi.org> wrote:
>>> 
>> 
>> Note that I just did PR#210 for the tag 35 issues; I don’t see a need to apply any further changes to the text on tag 36.
> 
> MIME has lots of internal mechanisms for variation and extension. Regular expressions seems to me a moving target not really oriented protocol interoperation. Tag 36 seems fine as is.
> 
> Thanks for the response.
> 
> LL
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor