Re: [http-state] Ticket 11: Character encoding for non-ASCII cookies values

Dan Witte <dwitte@mozilla.com> Wed, 03 March 2010 00:43 UTC

Return-Path: <dwitte@mozilla.com>
X-Original-To: http-state@core3.amsl.com
Delivered-To: http-state@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 515CE3A8619 for <http-state@core3.amsl.com>; Tue, 2 Mar 2010 16:43:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 6fMJ41rUujYL for <http-state@core3.amsl.com>; Tue, 2 Mar 2010 16:43:13 -0800 (PST)
Received: from mail.mozilla.com (corp01.sj.mozilla.com [63.245.208.141]) by core3.amsl.com (Postfix) with ESMTP id 1752E3A7D53 for <http-state@ietf.org>; Tue, 2 Mar 2010 16:43:13 -0800 (PST)
Received: from mail.mozilla.com (mail.mozilla.com [10.2.72.15]) by mail.mozilla.com (Postfix) with ESMTP id 071D617FC085; Tue, 2 Mar 2010 16:43:04 -0800 (PST)
Date: Tue, 2 Mar 2010 16:43:03 -0800 (PST)
From: Dan Witte <dwitte@mozilla.com>
To: Adam Barth <ietf@adambarth.com>
Message-ID: <586435492.32187.1267576983510.JavaMail.root@cm-mail03.mozilla.org>
In-Reply-To: <5c4444771003021624qc0b00cet27e348cb6d023b08@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [63.245.220.240]
X-Mailer: Zimbra 6.0.4_GA_2038.RHEL5_64 (ZimbraWebClient - FF3.0 (Linux)/6.0.4_GA_2038.RHEL5_64)
Cc: http-state <http-state@ietf.org>
Subject: Re: [http-state] Ticket 11: Character encoding for non-ASCII cookies values
X-BeenThere: http-state@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discuss HTTP State Management Mechanism <http-state.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/http-state>, <mailto:http-state-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/http-state>
List-Post: <mailto:http-state@ietf.org>
List-Help: <mailto:http-state-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/http-state>, <mailto:http-state-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2010 00:43:14 -0000

----- "Adam Barth" <ietf@adambarth.com> wrote:

> == In document.cookie ==
> 
> In
> <http://github.com/abarth/http-state/blob/master/notes/2010-02-03-Julian-Reschke.txt>,
> Julian Reschke wrote:
> [[
> I just did a quick test with an ISO-8859-1 encoded cookie value,
> client-side javascript and "alert(document.cookie)":
> - IE and Firefox appear to treat the cookie as ISO-8859-1

Firefox uses UTF-8, I believe.

A SHOULD level requirement for UTF-8 sounds good to me.

Regards,
Dan