Re: [art] Question on RFC 8823

Alexey Melnikov <alexey.melnikov@isode.com> Mon, 10 May 2021 10:43 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A3E2B3A17BD for <art@ietfa.amsl.com>; Mon, 10 May 2021 03:43:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.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 ux0lVSaug5U4 for <art@ietfa.amsl.com>; Mon, 10 May 2021 03:43:52 -0700 (PDT)
Received: from statler.isode.com (Statler.isode.com [62.232.206.189]) by ietfa.amsl.com (Postfix) with ESMTP id 424123A17BC for <art@ietf.org>; Mon, 10 May 2021 03:43:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1620643430; d=isode.com; s=june2016; i=@isode.com; bh=jUyZnhadujctzQCGi+LuaYryGJYChnElsgDKBBPsyl0=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=pqfOSKmdBGuSoW6fgKIdbrsrs1HurYC4eXrS7S3BQVtF4pdfCCtKD6UIk7utPCVL2RNBX6 pwIgJfoh2lNCIHVWpUG215bWgLjYGBZwoeTofBRi29tlSM/buaFvtqV+mtnDjKpGrjO29M JaKD5wpd9ID6kFQiBFxl78nzgZCATqA=;
Received: from [192.168.1.222] (host31-49-142-9.range31-49.btcentralplus.com [31.49.142.9]) by statler.isode.com (submission channel) via TCP with ESMTPSA id <YJkOZQBaj36B@statler.isode.com>; Mon, 10 May 2021 11:43:50 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
To: Ned Freed <ned.freed@mrochek.com>
Cc: art@ietf.org
References: <20210506164308.7kbge%steffen@sdaoden.eu> <b9943d7a-15fe-c4ac-d34d-d3e226285435@isode.com> <01RYPRQ8YF2U0085YQ@mauve.mrochek.com>
Message-ID: <4f2adcee-329f-7b85-45e5-3958c231d3d9@isode.com>
Date: Mon, 10 May 2021 11:43:48 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1
In-Reply-To: <01RYPRQ8YF2U0085YQ@mauve.mrochek.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/3Kx6Ba0CTx0M4h_3LJKaLBmXv6A>
Subject: Re: [art] Question on RFC 8823
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 May 2021 10:43:57 -0000

Hi Ned,

On 06/05/2021 20:49, Ned Freed wrote:

>> Hi Steffen,
>
>> Thank you for your comments on RFC 8823. My replies below.
>
>> ...
>
>> > While reading it i was astonished to see RFC 2231 not RFC 2047
>> > mentioned for header field content (as opposed to field parameter
>> > value content that does not occur here since all the value is
>> > a base64url encoded string, see for example 3.1.1 -- i mean, yes!,
>> > RFC 2231 is a straight good one compared to the older RFC 2047,
>> > but it does not replace it), and the use of MIME in general even
>> > for plain US-ASCII mails (without overlong lines and any other
>> > such pitfalls which would qualify for using MIME in an RFC 5322
>> > internet message).
>
>> If you are talking about encoded word construct used in Subject header
>> field, then RFC 2231 is backward compatible with RFC 2047 encoding, so
>> any RFC 2047 encoded words are also valid RFC 2231 encoded words.
>
> But not vice versa, which is why, in the unlikely event someone 
> actually uses
> the RFC 2231 extension, it will work.
>
> Specifically, RFC 2231 adds an optional language tag to the charset
> part of an encoded word. If that feature is used and only RFC 2047
> forms are supported the charset field isn't going to match.
Actually, I suspect there is more than one parser that is able to parse 
RFC 2231 syntax, but ignores the language tag.
> That said, if RFC 8823 is ever updated, it might be a good idea to say 
> what to
> do with the language tag: Don't generate it and if you find one, 
> ignore it.
Agreed.
>> The document requires support for RFC 2231 in order to have 
>> compatibility
>> with most existing email clients.
>
> There's a client that actually generates a language tag in an encoded 
> word?
> Wow. I don't think I've ever seen one in the wild.

I thought I've seen some, but a quick check of my INBOX archive for the 
last 3 years doesn't have any examples.

Best Regards,

Alexey