Re: [I18ndir] I18ndir early review of draft-ietf-dispatch-javascript-mjs-07

John R Levine <johnl@taugh.com> Sat, 09 May 2020 16:36 UTC

Return-Path: <johnl@taugh.com>
X-Original-To: i18ndir@ietfa.amsl.com
Delivered-To: i18ndir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 076C53A0F1A for <i18ndir@ietfa.amsl.com>; Sat, 9 May 2020 09:36:31 -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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1536-bit key) header.d=iecc.com header.b=UTF+67Qh; dkim=pass (1536-bit key) header.d=taugh.com header.b=QUb/iXoe
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 Q9TJZvfTGXPw for <i18ndir@ietfa.amsl.com>; Sat, 9 May 2020 09:36:22 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 968F93A0F17 for <i18ndir@ietf.org>; Sat, 9 May 2020 09:36:21 -0700 (PDT)
Received: (qmail 47052 invoked from network); 9 May 2020 16:36:20 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent; s=b7c6.5eb6dc04.k2005; i=johnl-iecc.com@submit.iecc.com; bh=r/Jy1svjDIgUX5mfgwij4YdOqRUeyZE0OJHN8n0fmjI=; b=UTF+67Qh2Te6miv0ox/egp2TFnYr4knpoN5rU2Dqscf6ZWVVdCZT/DREXT/JDq3LbqAPyin20jX/g0Z5UVbyiIuWIqf2N0xVxPQepbde0Otjy70DnHrN2ebBeNsBlK4yhCATYEF9tI2GN8e04AZUGYzjasmqkDarGEpc4WMI6PkRWPT2x490b3mIwxhqBtbL3trlGD3Xagjkenw9t42QZV1qzjO9sMI+hJMKQ/VUN85tFNqiFJsDsdMjZCv0GPpT
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent; s=b7c6.5eb6dc04.k2005; olt=johnl-iecc.com@submit.iecc.com; bh=r/Jy1svjDIgUX5mfgwij4YdOqRUeyZE0OJHN8n0fmjI=; b=QUb/iXoe6io1BKFSAcbkjx1t5C0hLKBODSG+lHG6gGKcA53F5zT4xjqH9ZNEiyKYOEgOP1XbUWZd04KPkQaFsoeoGw24VO8gtFKF7XiWtHhQDCsJKOfmmi9QCR/qd+iOPbzMG+8fGIRRhko6gW2CfasoVheaBsBYVJ8mS4UZQxnNFgataVcSVaz34HwuUp+iBvDzqEQYA/vOZ8Lfx99DzJnUB4mpHwhwB8/As4KhVfa2rbb4Eqw32f9wXy5mIqk2
Received: from localhost ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPSA (TLS1.3 ECDHE-RSA AES-256-GCM AEAD, johnl@iecc.com) via TCP6; 09 May 2020 16:36:20 -0000
Date: Sat, 09 May 2020 12:36:20 -0400
Message-ID: <alpine.OSX.2.22.407.2005091233350.84818@ary.qy>
From: John R Levine <johnl@taugh.com>
To: Patrik Fältström <patrik@frobbit.se>
Cc: Myles Borins <mylesborins@google.com>, DISPATCH WG <dispatch@ietf.org>, draft-ietf-dispatch-javascript-mjs.all@ietf.org, i18ndir@ietf.org
In-Reply-To: <C6B94276-EB9F-4A5B-9E1B-0DE170A05EBC@frobbit.se>
References: <158896904545.17044.5288882047334991439@ietfa.amsl.com> <CALaySJ+CRJumYtDCxvGsSwzanz4y=7icuqd+toc0wMivf-mJGg@mail.gmail.com> <CAD7Fb3diej1-3fAgqZsS_E9wOs1KC=OwVWbvxV5mVjOdQEQm5g@mail.gmail.com> <alpine.OSX.2.22.407.2005081926580.81728@ary.qy> <C6B94276-EB9F-4A5B-9E1B-0DE170A05EBC@frobbit.se>
User-Agent: Alpine 2.22 (OSX 407 2020-02-09)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0-63736491-1589042180=:84818"
Archived-At: <https://mailarchive.ietf.org/arch/msg/i18ndir/LyU2qksAS9V_K5GXDs2EVIMY8s8>
Subject: Re: [I18ndir] I18ndir early review of draft-ietf-dispatch-javascript-mjs-07
X-BeenThere: i18ndir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Internationalization Directorate <i18ndir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i18ndir>, <mailto:i18ndir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i18ndir/>
List-Post: <mailto:i18ndir@ietf.org>
List-Help: <mailto:i18ndir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i18ndir>, <mailto:i18ndir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 May 2020 16:36:31 -0000

On Sat, 9 May 2020, Patrik Fältström wrote:
>> I'm sorry to hear that people are using filename extensions to tell what's in a file.  I'd hoped that all of the badness from old versions of Windows doing that might have been a hint.
>
> This is something that just must go away, and I think a big note in non-friendly letters must be added in the security considerations section is needed that explain the situation and why the current practice is not really what we want in the wild.
>
> I.e. yes, while still documenting "what works", that should not be the goal. It will lead to even more problems getting secure mechanisms in browsers deployed.

I agree with Patrik, this reinvents a security hole from the floppy disk 
era and is not something we should let pass without at least making it 
clear that we believe it is a significant mistake.

It occurs to me that http clients can send an Accept header, so how about 
saying that modules SHOULD be text/jsmodule, but MAY be text/javascript 
for backward compatibiltiy with clients that don't handle text/jsmodule?

Regards,
John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
Please consider the environment before reading this e-mail. https://jl.ly