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

Adam Barth <ietf@adambarth.com> Wed, 03 February 2010 09:16 UTC

Return-Path: <adam@adambarth.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 C3B6928C14B for <http-state@core3.amsl.com>; Wed, 3 Feb 2010 01:16:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.818
X-Spam-Level:
X-Spam-Status: No, score=-1.818 tagged_above=-999 required=5 tests=[AWL=0.159, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 j5KuIZL2FnGT for <http-state@core3.amsl.com>; Wed, 3 Feb 2010 01:16:24 -0800 (PST)
Received: from mail-px0-f186.google.com (mail-px0-f186.google.com [209.85.216.186]) by core3.amsl.com (Postfix) with ESMTP id BAAF628C140 for <http-state@ietf.org>; Wed, 3 Feb 2010 01:16:24 -0800 (PST)
Received: by pxi16 with SMTP id 16so46470pxi.29 for <http-state@ietf.org>; Wed, 03 Feb 2010 01:17:03 -0800 (PST)
MIME-Version: 1.0
Received: by 10.142.7.30 with SMTP id 30mr666452wfg.321.1265188617165; Wed, 03 Feb 2010 01:16:57 -0800 (PST)
In-Reply-To: <op.u7jnvc0pqrq7tp@acorna.invalid.invalid>
References: <op.u7jnvc0pqrq7tp@acorna.invalid.invalid>
From: Adam Barth <ietf@adambarth.com>
Date: Wed, 03 Feb 2010 01:16:37 -0800
Message-ID: <7789133a1002030116l4d4f2fcdl4efc0e09edfe0751@mail.gmail.com>
To: "Yngve N. Pettersen (Developer Opera Software ASA)" <yngve@opera.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
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 09:16:25 -0000

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
>