Re: [http-state] New Issue: The domain attribute and I18N domain names

Dan Witte <dwitte@mozilla.com> Wed, 03 February 2010 18:03 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 2E7143A690F for <http-state@core3.amsl.com>; Wed, 3 Feb 2010 10:03:28 -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 gh6KcVN-huce for <http-state@core3.amsl.com>; Wed, 3 Feb 2010 10:03:27 -0800 (PST)
Received: from mail.mozilla.com (corp01.sj.mozilla.com [63.245.208.141]) by core3.amsl.com (Postfix) with ESMTP id 2228C3A6845 for <http-state@ietf.org>; Wed, 3 Feb 2010 10:03:27 -0800 (PST)
Received: from mail.mozilla.com (mail.mozilla.com [10.2.72.15]) by mail.mozilla.com (Postfix) with ESMTP id 6466017FC806; Wed, 3 Feb 2010 10:04:00 -0800 (PST)
Date: Wed, 03 Feb 2010 10:04:00 -0800
From: Dan Witte <dwitte@mozilla.com>
To: Adam Barth <ietf@adambarth.com>
Message-ID: <1845843792.26784.1265220240102.JavaMail.root@cm-mail03.mozilla.org>
In-Reply-To: <7789133a1002030116l4d4f2fcdl4efc0e09edfe0751@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
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@ietf.org
Subject: Re: [http-state] New Issue: The domain attribute and I18N domain names
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 Feb 2010 18:03:28 -0000

I agree with Yngve; I'd also note that Mozilla's implementation has never worked with UTF8 'domain' attributes, only punycode. I don't believe we've seen any bug reports from people about changing that.

Dan

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

> I have very little understanding of I18N domain names.  Would you be
> willing to write some tests of the form found in
> http://github.com/abarth/http-state/tree/master/tests/data/parser/
> that explain what you think the correct behavior is?  You can add
> more
> entries to
> http://github.com/abarth/http-state/blob/master/tests/data/hosts
> if you need to map some i18n domain names to the loopback interface.
> 
> Thanks,
> Adam
> 
> 
> On Wed, Feb 3, 2010 at 1:12 AM, Yngve N. Pettersen (Developer Opera
> Software ASA) <yngve@opera.com> wrote:
> > Hello all,
> >
> > AFAICT the current draft does not address how servers should specify
> domain
> > names in the domain attribute of a Set-Cookie header when the
> Unicode form
> > of the domain name contain non-ASCII characters, e.g. blåbær.no
> > (xn--blbr-roah.no).
> >
> > My suggestion is that the A-label (punycode) form should be used in
> all
> > cases, but if that is too strict the only other alternative is to
> allow
> > UTF-8 encoding of the name in addition to the recommended use of
> the
> > A-label.
> >
> > --
> > Sincerely,
> > Yngve N. Pettersen
> >
> >
> ********************************************************************
> > Senior Developer                     Email: yngve@opera.com
> > Opera Software ASA                   http://www.opera.com/
> > Phone:  +47 24 16 42 60              Fax:    +47 24 16 40 01
> >
> ********************************************************************
> > _______________________________________________
> > http-state mailing list
> > http-state@ietf.org
> > https://www.ietf.org/mailman/listinfo/http-state
> >
> _______________________________________________
> http-state mailing list
> http-state@ietf.org
> https://www.ietf.org/mailman/listinfo/http-state