Re: [apps-discuss] seeking pragmatic guidelines for content-type 'structure': when to go top-level?

Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com> Thu, 10 November 2011 11:45 UTC

Return-Path: <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D3C4621F8B1D for <apps-discuss@ietfa.amsl.com>; Thu, 10 Nov 2011 03:45:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.561
X-Spam-Level:
X-Spam-Status: No, score=-102.561 tagged_above=-999 required=5 tests=[AWL=-0.062, BAYES_00=-2.599, FROM_LOCAL_NOVOWEL=0.5, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CYS9zdHXOZpD for <apps-discuss@ietfa.amsl.com>; Thu, 10 Nov 2011 03:45:48 -0800 (PST)
Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by ietfa.amsl.com (Postfix) with ESMTP id 40FAD21F8B1F for <apps-discuss@ietf.org>; Thu, 10 Nov 2011 03:45:48 -0800 (PST)
Received: by wwi18 with SMTP id 18so534801wwi.1 for <apps-discuss@ietf.org>; Thu, 10 Nov 2011 03:45:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=zav2Ti9JZgU7H7nwtSsKMZ6nCHi9KTWKTTPgxcNtL3o=; b=A7vL/RjecsvfNHk7ZwfC3REWhHtBKsZnSj51A9MPcrJoPDdbAYj5YG1lZhohkqbC+6 KKBwkIvDJdrABgQppYn9riU67AJd2/PfJ90CriFXvFV4MqK5pZBQoTRDJEW3VEhIVNjo 4MIai7zCPwuEwywu905UxWYoCb7VBViWQCRmU=
Received: by 10.216.52.16 with SMTP id d16mr1274524wec.88.1320925547141; Thu, 10 Nov 2011 03:45:47 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.184.147 with HTTP; Thu, 10 Nov 2011 03:45:06 -0800 (PST)
In-Reply-To: <013101cc9f8b$2e1fac80$4001a8c0@gateway.2wire.net>
References: <4EBB3CFC.5050608@dcrocker.net> <4EBB5310.6080103@it.aoyama.ac.jp> <CAC4RtVBNL_nTCwBsMQpEKS9kXUF7aj9yEstef7yrzwi8qYAQDg@mail.gmail.com> <4EBB7660.6040904@dcrocker.net> <013101cc9f8b$2e1fac80$4001a8c0@gateway.2wire.net>
From: Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>
Date: Thu, 10 Nov 2011 12:45:06 +0100
Message-ID: <CAHhFybpqkNf8W2rcZCpqd4+M2d4T=6cp=AiOP-oEJv_2XrQiyg@mail.gmail.com>
To: "t.petch" <ietfc@btconnect.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] seeking pragmatic guidelines for content-type 'structure': when to go top-level?
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Nov 2011 11:45:48 -0000

On 10 November 2011 10:28, t.petch wrote:


> I just received an (antisocial) e-mail with .gif's
> attached, so I edited the Content-Type to be
> font/various things, and my MUA took no notice,
> just processed them as .gif.

That's okay.  RFC 2049 maps "dunno" to "application
octet-stream", and your UA or OS can figure out that
it's actually GIF looking at the first bytes...

> Only when I modified the filename (eg to .ttf) did
> the MUA take any notice and complain that the
> attachment was not a font, pdf etc.

...or looking at the extension.

> I think we need to know this for commonly deployed > platforms before we can say it is not dangerous.

+1  I vaguely recall than some fonts on my platform
use the format of a DLL.

-Frank