Re: support for non-ASCII in strings, was: signatures vs sf-date
Julian Reschke <julian.reschke@gmx.de> Sat, 03 December 2022 08:38 UTC
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 71B40C14CE5F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 3 Dec 2022 00:38:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.748
X-Spam-Level:
X-Spam-Status: No, score=-2.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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=gmx.de
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 Jf3cFEKPAQe2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 3 Dec 2022 00:38:13 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0619EC14CE58 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 3 Dec 2022 00:38:12 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1p1O1z-00BZMS-Kw for ietf-http-wg-dist@listhub.w3.org; Sat, 03 Dec 2022 08:37:55 +0000
Resent-Date: Sat, 03 Dec 2022 08:37:55 +0000
Resent-Message-Id: <E1p1O1z-00BZMS-Kw@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <julian.reschke@gmx.de>) id 1p1O1x-00BZKz-GM for ietf-http-wg@listhub.w3.org; Sat, 03 Dec 2022 08:37:53 +0000
Received: from mout.gmx.net ([212.227.15.15]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <julian.reschke@gmx.de>) id 1p1O1v-004dVN-SB for ietf-http-wg@w3.org; Sat, 03 Dec 2022 08:37:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1670056659; bh=GQ37M7ODL8jBPOBKp+8+5fYsMmJLXSrmNHkaNtXsEFo=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=DmIFLKBBEzKGQJlldtHejDZ3q7IdVXjheQdDSpejmoy28b2fwEfVCeK63zEjZ+1gI cbWHp21vIYexU5WhvCh7QIuAa16G8w4n6qTpJ4a3qR9yTY/FzPCDyx/fI+yxjS8Zs1 eUilCR5ZAXQn3j1VuU56gec/kkv0djKXIJ4k1ll5YHHwZPs4uvy43UEgKFJOi/FM3b +udsJXDGkaRhuRb8zWmnTLCNydbUxhMhK0CK7DsYFrIGhTX5eG8+nJFT5SyzGjbqgS S+TXpHoCR+iLylfAce8tomZ7LNQDPCfqv6uE9SP7VuTgCEECSwxGNBvIkcKs961wwa HkUdb8u5+t7oA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.178.20] ([84.171.152.225]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MdvmO-1oSsUP1cf8-00b6qo for <ietf-http-wg@w3.org>; Sat, 03 Dec 2022 09:37:39 +0100
Message-ID: <870c907b-6972-5a8d-9ee7-2591cd2c7306@gmx.de>
Date: Sat, 03 Dec 2022 09:37:39 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0
Content-Language: en-US
To: ietf-http-wg@w3.org
References: <2070c8e0-98d6-7b63-77c3-550bcd661397@gmx.de> <eee5a787-da37-feb1-098a-7d2d9c0f1d37@it.aoyama.ac.jp> <202212020848.2B28mGbc004600@critter.freebsd.dk> <4e251954-afb6-fa08-616c-db95e23ad1fd@gmx.de> <202212020946.2B29kSe6004829@critter.freebsd.dk> <75dad0c0-e3bb-1189-0c16-e8275d3879ff@gmx.de> <202212021016.2B2AGvEP004972@critter.freebsd.dk> <9990b393-93ff-75af-4e14-de4f6ba3366c@gmx.de> <7b7f714d-890e-db90-4922-cfbc46b3e999@gmx.de> <202212021129.2B2BTY9f005362@critter.freebsd.dk> <b1d3af79-373f-a9af-7ff9-39f5f44915f0@gmx.de> <202212021214.2B2CEUQx005654@critter.freebsd.dk> <7a93fa17-38fe-5fa8-54ed-a726ab9d5a39@gmx.de> <841DC85E-F936-4350-A74F-170D22E6ADCE@gbiv.com> <202212021918.2B2JIBHC007228@critter.freebsd.dk> <65070e79-5429-a4cd-abe2-667b526badf1@gmx.de> <202212022147.2B2LlcqP008154@critter.freebsd.dk> <53D8E497-284A-4B2C-91D8-367542AA0A7C@mnot.net> <c6b41b93-23b0-f3b8-5d7f-05e52614070a@gmx.de> <FCC95D8F-0F64-4245-98E5-5760AD63E8FA@mnot.net>
From: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <FCC95D8F-0F64-4245-98E5-5760AD63E8FA@mnot.net>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:irmVui2B2pFXD6mPrQsV8KhvB7ojNpFoBTZh9i/4uCpAy2UnnJG BvGXZspDPKF9wQ0eo+N2DUE8SRXRQ0creb1kU+PQMp5eGIPALNzy6YjfIELNXlrqxZ3QMn1 QrHomzSRxwxEaZXzuRPG+nT8sW5sLrSmFHFVd8wlD3HqUh8WzPwj+h049/M3E6F+Qv9qYo9 PoeciEhDPXyIDsQT9cuUw==
UI-OutboundReport: notjunk:1;M01:P0:P4IhTeYVbPE=;wTosfHQaicl/RQPD4wNeMs4BstZ 7RePaj5yxPSocleY1KwHljnBIo7xgxyTaZcWXTz6FsCD+MdIhTjpbgBMeEhf9x9sUakUB7gBE jTODGxidmIQn02DdnelvCuGSpNwoV5zu/roCzvYlQ5bKMQf0RIZahehcFmsm7rWVQBqGerGRV pPTwmg7J/Lds1G2qsHTLGgxvXqnghZDdq0Cg1z9LjQbv2lWHpRGmJQ7ExWz/3BBEJ/b0KVCwS mRVHeEGU1oLzdWRUKKW0LjsB4Y3Z24hpMvIEUCcZI4ZAX2hYXYqMfwdlc72VSBGCj+sq9QgXs CFD9QpbrqFZqyPAsuh4boINHdOpRbPkTiMWS3GBu5TsVwR6n9O9bP5m10VUsDQyr96XIOXfGF T3RZb5HsUVrYO/fSwOe99jzrlJg/omsWbLjJ5oQSCUmjtF+fFjIuUDAtm50lueoVsuE6azIkN lhYLdO7rZHQ8akF0hG+PUgXEhnJr1ee4SfHe3PiEPN4PKodWkboCmSzhZ043LMrCkrn6xZOJs AWqIYfwE+MmVdXJUw3bLNjLTjJ0OeSThciCUQCaeX5mWJEwCypy7HYCUVu3qNgOHSFLfILBfW cDSNSK3K10qMTspriZLfOK+SYrch3D5Dw2TEytUE1aYWzdAoV4NaJWAYbW+ZMgl6ron/nkeGs uRAAGR02hQdnKMtgRa/NbWaSeFSfYTHfhA5f/9ziK29GRuAnouq/d9qZ0OU+jm2Y3nbsJQBzR gtcH9Ub1kEjtz4R6fM4DRs7bH1+6QHZ06JCv93gbmxTx/PoFbg/Lxg6dwoWk2ecMTgccKTXTM omlHAM6oGc99IUrTQn7cnynZoQZ4ywuDbTf9EMViGrIA7ajDzti8vT6vJeLXyku8gSqY0oxuU q1+j6W5Z//9LHWCEezff1HmqT2aMX6qJIzcP2QS6tvx5IfoRhgLKdP1S2VyWMrW9QNuC7lscC qgw0aUQRYZbXkwVTHuXqtE0AfL4=
Received-SPF: pass client-ip=212.227.15.15; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-DKIM-Status: validation passed: (address=julian.reschke@gmx.de domain=gmx.de), signature is good
X-W3C-Hub-Spam-Status: No, score=-6.1
X-W3C-Hub-Spam-Report: 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, NICE_REPLY_A=-0.265, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1p1O1v-004dVN-SB 00c2e3ed7004e7c892786e8160a97837
X-Original-To: ietf-http-wg@w3.org
Subject: Re: support for non-ASCII in strings, was: signatures vs sf-date
Archived-At: <https://www.w3.org/mid/870c907b-6972-5a8d-9ee7-2591cd2c7306@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40637
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
On 03.12.2022 09:08, Mark Nottingham wrote: > ... >> If you're serious about human presentable text not belonging here, why >> do we add that to "Problem" right now? > > Please re-read what I wrote. Discussing them does not obviate what I said. I still don't get it. You say "text for display to humans should not go into a field" (right?), but then you co-author a spec which does just that? >>> There are some cases where non-ASCII strings are needed in header fields; mostly, when you're presenting something to a human from the fields. Those cases are not as common. However, there's a catch to adding them: if full unicode strings were available in the protocol, many designers will understandably use them because it's been drilled into all our heads that unicode is what you use for strings. >>> >>> Hence, footgun. >> >> I would appreciate if you would explain why there is a problem we need >> to prevent, and what exactly that problem is. Do you have an example? > > As you've pointed out, the scope for this bis document was tightly defined. The onus isn't on me to prove what shouldn't go into it... I asked about what the footgun is. You replied that this is out of scope. That's not helpful. >>> By leaving full unicode support out of the spec and forcing designers to take positive steps to support it, the (relatively small) barrier to adoption makes them stop and think whether they need it. I think that's a good thing. I also know that will make some i18n folks unhappy, and I'm sorry for that; unfortunately we're working in an area where protocol artefacts intended for humans and machines are mixed, and so it gets difficult. >> >> I continue to disagree. By not supporting non-ASCII in the base >> definition, we force people to come up with ad hoc definitions which in >> general will be worse than a common extension we can define here. >> >>> All of that said, once the algorithms are stable (as Julian has pointed out, they contain some errors), I wouldn't object to including the %-encoding text as an appendix in sf-bis with appropriate warnings, if other folks are amenable. >> >> That would be a good step into the right direction. I still think we >> need an on-the-wire signal that the encoding is in place, for the same >> reasons why we're doing this revision in the first place (tooling >> support for special-casing integers that happen to represent dates). > > I disagree, and you should have brought that up in the scoping discussion. This suggestion was about a change you just proposed, and which isn't in the charter either, right? Anyway: there were several discussions and projects in the last weeks that made it clear to me that layering things on top or "extending" Structured Fields is problematic: 1. The discussion related to retrofit and defining a relaxed parser. 2. The discussion about the percent encoding in the "Problem field" spec (which is very recent) 3. The discussion about what the introduction of sf-date means for message-signatures. 4. And, in implementations, the question how to configure the SF parser (support for retrofit, support for sf-date - are these feature flags? can they be combined arbitrarily???, can the behavior of the parser change defaults without the caller making an explicit choice?). Based on that, I believe we either need to work on these points now, or have a credible strategy how to update this specs *and* the specs depending on it later. Best regards, Julian PS: the discussion about non-ASCII dates back four years. There was (IMHO) only rough consensus not to do it, and I was in the rough (not alone, for that matter). The fact that HTTPAPI's problem field spec now defines a workaround (and, FWIW, yet another way to address this issue) IMHO is a sign that that decision for RFC 8941 was bad, and we should revisit it.
- signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Poul-Henning Kamp
- Re: signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Poul-Henning Kamp
- Re: signatures vs sf-date Martin J. Dürst
- Re: signatures vs sf-date Poul-Henning Kamp
- Re: signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Poul-Henning Kamp
- Re: signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Poul-Henning Kamp
- support for non-ASCII in strings, was: signatures… Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Poul-Henning Kamp
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Poul-Henning Kamp
- Re: support for non-ASCII in strings, was: signat… Poul-Henning Kamp
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Poul-Henning Kamp
- Re: support for non-ASCII in strings, was: signat… Poul-Henning Kamp
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Carsten Bormann
- Re: support for non-ASCII in strings, was: signat… Poul-Henning Kamp
- Re: signatures vs sf-date Justin Richer
- Re: signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Ilari Liusvaara
- Re: signatures vs sf-date Poul-Henning Kamp
- Re: support for non-ASCII in strings, was: signat… Roy T. Fielding
- Re: support for non-ASCII in strings, was: signat… Poul-Henning Kamp
- Re: support for non-ASCII in strings, was: signat… Roy T. Fielding
- Re: support for non-ASCII in strings, was: signat… Poul-Henning Kamp
- Re: signatures vs sf-date Justin Richer
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: signatures vs sf-date Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Poul-Henning Kamp
- Re: support for non-ASCII in strings, was: signat… Mark Nottingham
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Mark Nottingham
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Willy Tarreau
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: support for non-ASCII in strings, was: signat… Julian Reschke
- Re: signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Mark Nottingham
- Re: signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Lucas Pardue
- Re: signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Ilari Liusvaara
- Re: signatures vs sf-date Lucas Pardue
- Re: signatures vs sf-date Mark Nottingham
- Re: signatures vs sf-date Lucas Pardue
- Re: signatures vs sf-date Mark Nottingham
- Re: signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Mark Nottingham
- Re: signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Watson Ladd
- Re: signatures vs sf-date Julian Reschke
- Re: signatures vs sf-date Watson Ladd
- Re: signatures vs sf-date Julian Reschke