[HASMAT] Parsing Content-Type

"Anne van Kesteren" <annevk@opera.com> Tue, 13 July 2010 10:21 UTC

Return-Path: <annevk@opera.com>
X-Original-To: hasmat@core3.amsl.com
Delivered-To: hasmat@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2D6EB3A686A for <hasmat@core3.amsl.com>; Tue, 13 Jul 2010 03:21:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.413
X-Spam-Level:
X-Spam-Status: No, score=-6.413 tagged_above=-999 required=5 tests=[AWL=0.186, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1hrqn7JQuIAf for <hasmat@core3.amsl.com>; Tue, 13 Jul 2010 03:21:17 -0700 (PDT)
Received: from smtp.opera.com (smtp.opera.com [213.236.208.81]) by core3.amsl.com (Postfix) with ESMTP id 000E93A68A2 for <hasmat@ietf.org>; Tue, 13 Jul 2010 03:21:16 -0700 (PDT)
Received: from annevk-t60 (5355737B.cable.casema.nl [83.85.115.123]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o6DAL8VA014502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <hasmat@ietf.org>; Tue, 13 Jul 2010 10:21:24 GMT
Content-Type: text/plain; charset="utf-8"; format="flowed"; delsp="yes"
To: hasmat@ietf.org
Date: Tue, 13 Jul 2010 12:21:09 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Anne van Kesteren <annevk@opera.com>
Organization: Opera Software ASA
Message-ID: <op.vfr1o4on64w2qv@annevk-t60>
User-Agent: Opera Mail/10.70 (Linux)
Subject: [HASMAT] Parsing Content-Type
X-BeenThere: hasmat@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: HTTP Application Security Minus Authentication and Transport <hasmat.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hasmat>, <mailto:hasmat-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hasmat>
List-Post: <mailto:hasmat@ietf.org>
List-Help: <mailto:hasmat-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hasmat>, <mailto:hasmat-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jul 2010 10:21:18 -0000

I was wondering if http://tools.ietf.org/html/draft-abarth-mime-sniff  
should not contain the error handling rules for parsing the Content-Type  
as well. It seems potentially dangerous if one user agent were to treat  
the value "text/html;" as bogus and fallback to "text/plain" whereas  
another would treat it as "text/html".


-- 
Anne van Kesteren
http://annevankesteren.nl/