Return-Path: <sayrer@gmail.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by ietfa.amsl.com (Postfix) with ESMTP id 62E92C14F5E0;
	Sat, 18 May 2024 12:48:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.094
X-Spam-Level: 
X-Spam-Status: No, score=-7.094 tagged_above=-999 required=5
	tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
	HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5,
	RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001,
	URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194])
	by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id R3yweOoVDLvp; Sat, 18 May 2024 12:48:05 -0700 (PDT)
Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com
 [IPv6:2a00:1450:4864:20::134])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest
 SHA256)
	(No client certificate requested)
	by ietfa.amsl.com (Postfix) with ESMTPS id 824D4C14F5FA;
	Sat, 18 May 2024 12:48:02 -0700 (PDT)
Received: by mail-lf1-x134.google.com with SMTP id
 2adb3069b0e04-51ffff16400so4976445e87.2;
        Sat, 18 May 2024 12:48:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1716061681; x=1716666481; darn=ietf.org;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:from:to:cc:subject:date:message-id:reply-to;
        bh=FrjHBIRwdjwC3yo9pMuqwhne5nuNIwJx24Y5USp4R0k=;
        b=fc0r3ZZl2WwBlOkefuERq4HaQ3J25KSJ7mOzCBNRvQ7Nuk8oAp5oN9su8Om1VidZ3p
         G3YG2A3rDq1FaU1tkP/F9V3xP1QJ5qH4E/esgoLJOAAcieW8FAeI3qwwruqBlE/5JW8J
         QbkV5kyVPu25VUJypGQtEtet5QlN1qJo64JMkB/kDINgagfbdr+x8dM+dZVU6wNw7IhT
         AFuzznzyRvdIhcPunwKgdtDN2NCaaYsfVrlFpXU40qalheUuKLnasOyWkGUY/nKp7B38
         ShVbwyXjAZ6IAdVZtDMZRHPhlvRxJI9g4CVqXzSyG1PvLorkQtELKsSIpsm8BEuGpn8w
         pT4Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1716061681; x=1716666481;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to;
        bh=FrjHBIRwdjwC3yo9pMuqwhne5nuNIwJx24Y5USp4R0k=;
        b=BFw+0tcd/YYq1C3IrSDVRIA1hNiEQHyupU2gQtDGDhH3gsJ9Qvo+qHiKdaBVPP4IdB
         CDYeRKaFX+LGDz05FWIVWQlGn9xbgN12B1so7U4c5EIrsvHBmpX2OpRUsEpv/q74I6RN
         dcbSFaeAgPCPBDz+KVNDI/2ovbjsjNRCz6MmytD0666Bii+RkVSePHOeQolQwxZUzKNN
         uVIp2JtxnrgqnV7rZcFiPiI13nG5GS9GZn9O8wIWw8+/j0GCQ0AwnYrM+xdHmzbvF+G+
         OTbb9F6tAI5f5mb1dnJx3VSNY3p99L/t0kbZ7+3Rth7yk47vQsbSMLIUw5FaAxPhp5h0
         z6qg==
X-Forwarded-Encrypted: i=1;
 AJvYcCWzWqFOGf241Phrbt2cW8mVBaqJ0Zteetim6EAuedWhYLdVFvU3EtAAGYN+Q2GXJkntD5Di2QRTDRWYwwcVEF07qtqYAhtRZNx1mdlu/dioMHDKtuhml1R7HqeeoMHa1HC0meBRc4NHfPAx2J5KkijfSFA4NZdDuf0=
X-Gm-Message-State: AOJu0YyyVlwvlbVBXm7I1FwIr7J4KwCC8O2dprPJhszqa23iM/F2T7EF
	Udi5sV4uPGkrO//e6HVqM67JsXhKFp0RBOveZHyO1WwT59tFLAcBJIamBK1WV5Y1izNivYRm+f/
	+/y/wdSMSOLKDRysoewPUcBV5fbaWIEVk
X-Google-Smtp-Source: 
 AGHT+IH/tDMgRLlTQCwcsOqGx+5otj4KthtDR8/WRI5LooJoay5C7dKw4ooWaDJGwhPNG89GX69uP5j37Gu/Ypgw4PE=
X-Received: by 2002:a05:6512:31c7:b0:512:e02f:9fa7 with SMTP id
 2adb3069b0e04-5220fc7c565mr29634748e87.1.1716061680327; Sat, 18 May 2024
 12:48:00 -0700 (PDT)
MIME-Version: 1.0
References: <171605695839.29495.8129547067232508808@ietfa.amsl.com>
In-Reply-To: <171605695839.29495.8129547067232508808@ietfa.amsl.com>
From: Rob Sayre <sayrer@gmail.com>
Date: Sat, 18 May 2024 12:47:48 -0700
Message-ID: 
 <CAChr6SyGwH5B5mFKrByeS2ymrU_NG-TmHKDRxN=jZ1o4=KKNhQ@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
Content-Type: multipart/alternative; boundary="000000000000de67b70618bfbe89"
Message-ID-Hash: HS36S2HB2CKFS6J2ABCA5VKM5WOFT767
X-Message-ID-Hash: HS36S2HB2CKFS6J2ABCA5VKM5WOFT767
X-MailFrom: sayrer@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency;
 loop; banned-address; member-moderation; header-match-jmap.ietf.org-0;
 nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size;
 news-moderation; no-subject; digests; suspicious-header
CC: art@ietf.org, draft-ietf-jmap-contacts.all@ietf.org, jmap@ietf.org,
 last-call@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: =?utf-8?q?=5BJmap=5D_Re=3A_=5Bart=5D_Artart_telechat_review_of_draft-ietf-jm?=
	=?utf-8?q?ap-contacts-09?=
List-Id: JSON Message Access Protocol <jmap.ietf.org>
Archived-At: 
 <https://mailarchive.ietf.org/arch/msg/jmap/ZCYP-58LtkND4n3V3A0Y_ijgzbQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Owner: <mailto:jmap-owner@ietf.org>
List-Post: <mailto:jmap@ietf.org>
List-Subscribe: <mailto:jmap-join@ietf.org>
List-Unsubscribe: <mailto:jmap-leave@ietf.org>

--000000000000de67b70618bfbe89
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, May 18, 2024 at 11:29=E2=80=AFAM Tim Bray via Datatracker <noreply@=
ietf.org>
wrote:

> Reviewer: Tim Bray
> Review result: Ready with Issues
>
> Thanks for adding the Internationalization Considerations section, which
> addresses the concern in my previous review that this issue needed more
> work.
> I have small issues:
>
> 1. There is a reference to "control characters" without any citation, and
> the
> definition is not as obvious as one might think. A good reference is
> [UNICODE]
> section 23.1, which may be summarized as "65 code points in the ranges
> U+0000-U+001F ("C0 Controls") and U+0080-U+009F (=E2=80=9CC1 Controls=E2=
=80=9D), plus
> U+007F,

"DEL" 2.


RFC 20, section 4.1 (or some update) would do. But, I wonder if that
part is right, because of the way JSContact is defined.

https://www.rfc-editor.org/rfc/rfc9553.html#name-free-form-text

That can certainly contain CR, LF, TAB, in common cases. But if you get BEL
or SUB, that may be a problem.


> This section might benefit from a reference to RFC9413, which has a
> thorough discussion of dealing with input data that is invalid for some
> reason.
> 3. There are 3 options when receiving a message with invalid characters:
> delete
> them, replace them (Unicode provides U+FFFD for this purpose), or reject
> the
> message.

The draft mentions two of these but not the replacement option. Is it
> never appropriate in the JMAP context?
>

I think most people do this, because they add new emoji every year, but I
think the operating system takes care of it most of the time.

For example, I am listed as "Rob =F0=9F=8E=A7" for one person, because they=
 call me
with audio problems (it showed up in an email, so I found this out when the
iPhone contact list name drifted into email). But you can see this pattern
drifting to whatever new ones they add.

thanks,
Rob

--000000000000de67b70618bfbe89
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Sat, May 18, 2024 at 11:29=E2=80=
=AFAM Tim Bray via Datatracker &lt;<a href=3D"mailto:noreply@ietf.org">nore=
ply@ietf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">Reviewer: Tim Bray<br>
Review result: Ready with Issues<br>
<br>
Thanks for adding the Internationalization Considerations section, which<br=
>
addresses the concern in my previous review that this issue needed more wor=
k. <br>
I have small issues:<br>
<br>
1. There is a reference to &quot;control characters&quot; without any citat=
ion, and the<br>
definition is not as obvious as one might think. A good reference is [UNICO=
DE]<br>
section 23.1, which may be summarized as &quot;65 code points in the ranges=
<br>
U+0000-U+001F (&quot;C0 Controls&quot;) and U+0080-U+009F (=E2=80=9CC1 Cont=
rols=E2=80=9D), plus U+007F,=C2=A0</blockquote><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">
&quot;DEL&quot; 2. </blockquote><div><br></div><div>RFC 20, section 4.1 (or=
 some update) would do. But, I wonder if that part=C2=A0is right, because o=
f the way JSContact is defined.</div><div><br></div><div><a href=3D"https:/=
/www.rfc-editor.org/rfc/rfc9553.html#name-free-form-text">https://www.rfc-e=
ditor.org/rfc/rfc9553.html#name-free-form-text</a><br></div><div><br></div>=
<div>That can certainly contain CR, LF, TAB, in common cases. But if you ge=
t BEL or SUB, that may be a problem.</div><div>=C2=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex">This section might benefit from a referen=
ce to RFC9413, which has a<br>
thorough discussion of dealing with input data that is invalid for some rea=
son.<br>
3. There are 3 options when receiving a message with invalid characters: de=
lete<br>
them, replace them (Unicode provides U+FFFD for this purpose), or reject th=
e<br>
message.</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The =
draft mentions two of these but not the replacement option. Is it<br>
never appropriate in the JMAP context?<br></blockquote><div><br></div><div>=
I think most people do this, because they add new emoji every year, but I t=
hink the operating system takes care of it most of the time.</div><div><br>=
</div><div>For example, I am listed as &quot;Rob=C2=A0=F0=9F=8E=A7&quot; fo=
r one person, because they call me with audio problems (it showed up in an =
email, so I found this out when the iPhone contact list name drifted into e=
mail). But you can see this pattern drifting to whatever new ones they add.=
</div><div><br></div><div>thanks,</div><div>Rob</div><div><br></div><div>=
=C2=A0</div></div></div>

--000000000000de67b70618bfbe89--

