
From wwwrun@rfc-editor.org  Mon Jun 17 17:30:49 2013
Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: http-state@ietfa.amsl.com
Delivered-To: http-state@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 92DCC21F8F7B for <http-state@ietfa.amsl.com>; Mon, 17 Jun 2013 17:30:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.473
X-Spam-Level: 
X-Spam-Status: No, score=-103.473 tagged_above=-999 required=5 tests=[AWL=1.127, BAYES_00=-2.599, GB_I_LETTER=-2, NO_RELAYS=-0.001, 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 qDtnm7LcyXUa for <http-state@ietfa.amsl.com>; Mon, 17 Jun 2013 17:30:48 -0700 (PDT)
Received: from rfc-editor.org (unknown [IPv6:2001:1890:123a::1:2f]) by ietfa.amsl.com (Postfix) with ESMTP id 02B3221F8F09 for <http-state@ietf.org>; Mon, 17 Jun 2013 17:30:43 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 7DF236211A; Mon, 17 Jun 2013 17:28:30 -0700 (PDT)
To: abarth@eecs.berkeley.edu, barryleiba@computer.org, presnick@qti.qualcomm.com, Jeff.Hodges@kingsmountain.com
From: RFC Errata System <rfc-editor@rfc-editor.org>
Message-Id: <20130618002830.7DF236211A@rfc-editor.org>
Date: Mon, 17 Jun 2013 17:28:30 -0700 (PDT)
Cc: rfc-editor@rfc-editor.org, dthaler@microsoft.com, http-state@ietf.org
Subject: [http-state] [Technical Errata Reported] RFC6265 (3663)
X-BeenThere: http-state@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discuss HTTP State Management Mechanism <http-state.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 18 Jun 2013 00:30:49 -0000

The following errata report has been submitted for RFC6265,
"HTTP State Management Mechanism".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=6265&eid=3663

--------------------------------------
Type: Technical
Reported by: Dave Thaler <dthaler@microsoft.com>

Section: 2.2

Original Text
-------------
The following core rules are included by reference, as defined in
[RFC5234], Appendix B.1: ALPHA (letters), CR (carriage return), CRLF
(CR LF), CTLs (controls), DIGIT (decimal 0-9), DQUOTE (double quote),
HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed), NUL (null octet),

Corrected Text
--------------
The following core rules are included by reference, as defined in
[RFC5234], Appendix B.1: ALPHA (letters), CR (carriage return), CRLF
(CR LF), CTLs (controls), DIGIT (decimal 0-9), DQUOTE (double quote),
HEXDIG (hexadecimal 0-9/A-F), LF (line feed), NUL (null octet),

Notes
-----
HEXDIG is defined in [RFC5234], Appendix B.1 as
  HEXDIG         =  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
Note that lower case a-f are not legal.

That leaves two possible meanings: (1) that HEXDIG is correct and the text in 2.2 is wrong in suggesting a-f are legal, or (2) that a-f are legal and that a different definition of HEXDIG was intended than the one referenced.

This ambiguity is resolved in RFC 6265 section 5.1.4 which says:
"   A request-path path-matches a given cookie-path if at least one of
   the following conditions holds:

   o  The cookie-path and the request-path are identical."
This section does no case normalization, nor any case-insensitive comparison of the path.  The path is case sensitive and the comparison is for "identical".
Thus, the hex letters in HEXDIG must be case sensitive, and thus the only interpretation of HEXDIG that is consistent with this test for "identical" is the one that does not allow both upper-case and lower-case.

For comparison, RFC 3986 (and its predecessor RFC 2234) also have the same restriction of HEXDIG only supporting upper case, although RFC 3986 contains the additional explanation:
"      pct-encoded = "%" HEXDIG HEXDIG

   The uppercase hexadecimal digits 'A' through 'F' are equivalent to
   the lowercase digits 'a' through 'f', respectively.  If two URIs
   differ only in the case of hexadecimal digits used in percent-encoded
   octets, they are equivalent.  For consistency, URI producers and
   normalizers should use uppercase hexadecimal digits for all percent-
   encodings."

Although the URI syntax in RFC 3986 disallows lower-case hex digits, the above text nonetheless says that such a string would be "equivalent". This is in contrast to RFC 6265 which requires the match to be "identical", not just "equivalent".

Instructions:
-------------
This errata is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party (IESG)
can log in to change the status and edit the report, if necessary. 

--------------------------------------
RFC6265 (draft-ietf-httpstate-cookie-23)
--------------------------------------
Title               : HTTP State Management Mechanism
Publication Date    : April 2011
Author(s)           : A. Barth
Category            : PROPOSED STANDARD
Source              : HTTP State Management Mechanism
Area                : Applications
Stream              : IETF
Verifying Party     : IESG

From derhoermi@gmx.net  Mon Jun 17 17:36:33 2013
Return-Path: <derhoermi@gmx.net>
X-Original-To: http-state@ietfa.amsl.com
Delivered-To: http-state@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BD2421F99B6 for <http-state@ietfa.amsl.com>; Mon, 17 Jun 2013 17:36:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.553
X-Spam-Level: 
X-Spam-Status: No, score=-2.553 tagged_above=-999 required=5 tests=[AWL=0.046,  BAYES_00=-2.599]
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 6U7r7cQG17IZ for <http-state@ietfa.amsl.com>; Mon, 17 Jun 2013 17:36:28 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by ietfa.amsl.com (Postfix) with ESMTP id 8DC2521F9C75 for <http-state@ietf.org>; Mon, 17 Jun 2013 17:36:28 -0700 (PDT)
Received: from mailout-de.gmx.net ([10.1.76.34]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MdINx-1V5ZyD31t5-00IVDL for <http-state@ietf.org>; Tue, 18 Jun 2013 02:36:26 +0200
Received: (qmail invoked by alias); 18 Jun 2013 00:36:26 -0000
Received: from p5B2328B9.dip0.t-ipconnect.de (EHLO netb.Speedport_W_700V) [91.35.40.185] by mail.gmx.net (mp034) with SMTP; 18 Jun 2013 02:36:26 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX1/j+8c5ccjj90tnVUONaIimjGTQMIDyI25UfDZEjS 2It6Uw015WU3Mc
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: RFC Errata System <rfc-editor@rfc-editor.org>
Date: Tue, 18 Jun 2013 02:36:22 +0200
Message-ID: <7mavr8hhrqsfmcqt77181vqc3g3nl25s1d@hive.bjoern.hoehrmann.de>
References: <20130618002830.7DF236211A@rfc-editor.org>
In-Reply-To: <20130618002830.7DF236211A@rfc-editor.org>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Cc: abarth@eecs.berkeley.edu, presnick@qti.qualcomm.com, dthaler@microsoft.com, http-state@ietf.org, barryleiba@computer.org
Subject: Re: [http-state] [Technical Errata Reported] RFC6265 (3663)
X-BeenThere: http-state@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discuss HTTP State Management Mechanism <http-state.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 18 Jun 2013 00:36:33 -0000

* RFC Errata System wrote:
>Notes
>-----
>HEXDIG is defined in [RFC5234], Appendix B.1 as
>  HEXDIG         =  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
>Note that lower case a-f are not legal.

As per RFC 5234:

   NOTE:

      ABNF strings are case insensitive and the character set for these
      strings is US-ASCII.

   Hence:

         rulename = "abc"

   and:

         rulename = "aBc"

   will match "abc", "Abc", "aBc", "abC", "ABc", "aBC", "AbC", and
   "ABC".
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

From ietf@adambarth.com  Tue Jun 18 02:29:39 2013
Return-Path: <ietf@adambarth.com>
X-Original-To: http-state@ietfa.amsl.com
Delivered-To: http-state@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2296C21F9DCD for <http-state@ietfa.amsl.com>; Tue, 18 Jun 2013 02:29:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 xkupSXLZSCoH for <http-state@ietfa.amsl.com>; Tue, 18 Jun 2013 02:29:38 -0700 (PDT)
Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) by ietfa.amsl.com (Postfix) with ESMTP id BDB4421F9DCE for <http-state@ietf.org>; Tue, 18 Jun 2013 02:29:37 -0700 (PDT)
Received: by mail-la0-f45.google.com with SMTP id fr10so3329967lab.4 for <http-state@ietf.org>; Tue, 18 Jun 2013 02:29:36 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=zPun07ui0o2/H1VD5hXFmcKSc/i10cG/yKk38S6vPwQ=; b=OPI/Nz+0fRa9/6lN+fnN56CeuB1agPjuR94RrQXO1qE1l/exEXG3tX3YiCurcYB/2H q3LPn7uZru6SYgCEinQIwPi7PvwskrNK56dwK0Gc88zn5J/BcdItZC0g7e2au+WdpZcz 3+k2G9cWtCcJTOA9FY24SSj9SZddzJDgUx4jzDEP+Pvwx9X/Wm5f2rLWm4TFCiidps3j pjGfkV1JScl8ucb2+1R3W5gOz7oiExeC2D3isjnQC+U2kgJc9pTUuIHVFjs6U9aUTJDY Vt/3wMNH5kwN8JuzBko9g0hZkaFyvdutjviL2iW4r9cWgeXNCrv3qXiXS4ui+murj0il SbjA==
X-Received: by 10.152.87.81 with SMTP id v17mr8625858laz.1.1371547776403; Tue, 18 Jun 2013 02:29:36 -0700 (PDT)
Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx.google.com with ESMTPSA id p6sm6836575lbv.15.2013.06.18.02.29.34 for <http-state@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Jun 2013 02:29:35 -0700 (PDT)
Received: by mail-lb0-f181.google.com with SMTP id w10so3371606lbi.40 for <http-state@ietf.org>; Tue, 18 Jun 2013 02:29:34 -0700 (PDT)
X-Received: by 10.112.155.161 with SMTP id vx1mr660032lbb.78.1371547774582; Tue, 18 Jun 2013 02:29:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.81.2 with HTTP; Tue, 18 Jun 2013 02:29:04 -0700 (PDT)
In-Reply-To: <9beb9558a94c434d84a0ccebfe4cc582@BY2PR03MB269.namprd03.prod.outlook.com>
References: <20130618002830.7DF236211A@rfc-editor.org> <7mavr8hhrqsfmcqt77181vqc3g3nl25s1d@hive.bjoern.hoehrmann.de> <9beb9558a94c434d84a0ccebfe4cc582@BY2PR03MB269.namprd03.prod.outlook.com>
From: Adam Barth <ietf@adambarth.com>
Date: Tue, 18 Jun 2013 02:29:04 -0700
Message-ID: <CAJE5ia84biazW1-yOWwUmx94SGLL2daF2PPdWaj6+=5qCaigJg@mail.gmail.com>
To: Dave Thaler <dthaler@microsoft.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQndpD/34dWau9sYfCWvv/MTDITOQZ29mUckqhgwlDvHnbt6oi1YwR+iYqSapCzAoUyVcOFW
Cc: "presnick@qti.qualcomm.com" <presnick@qti.qualcomm.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, "http-state@ietf.org" <http-state@ietf.org>, "barryleiba@computer.org" <barryleiba@computer.org>, RFC Errata System <rfc-editor@rfc-editor.org>
Subject: Re: [http-state] [Technical Errata Reported] RFC6265 (3663)
X-BeenThere: http-state@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discuss HTTP State Management Mechanism <http-state.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 18 Jun 2013 09:29:39 -0000

On Mon, Jun 17, 2013 at 5:45 PM, Dave Thaler <dthaler@microsoft.com> wrote:
> Thanks Bjoern.
>
> Interesting, well in that case there may be an issue in the RFC 6265 algo=
rithm for path matching.
> That's because it requires comparison for "identical" and "ab", "AB", "aB=
", and "Ab" are not "identical".
>
> So
> http://www.example.com/%AB/foo
> http://www.example.com/%ab/foo
> http://www.example.com/%Ab/foo
> http://www.example.com/%aB/foo
>
> are all "equivalent" in the language of RFC 3986, but not "identical" and=
 hence a cookie on one will not match the others.

The path-match algorithm does exactly what it says.  Even though RFC
3986 might say that those strings are equivalent in some sense
(perhaps as URIs?), the path-match algorithm in RFC 6265 treats them
differently.  In particularly, they're not identical and the
path-match algorithm will likely return "false" for one or more of
them.

> It may still be worth having an errata noting the above issue, even if it=
's Hold For Document Update.

As far as I can tell, the errata is incorrect.

On Mon, Jun 17, 2013 at 6:04 PM, Dave Thaler <dthaler@microsoft.com> wrote:
> I checked with one of the test teams at Microsoft and got this back:
>
>> There is a gap in the RFCs 3986 and 6265. RFC 3986 talks about the URI p=
ath and equivalence of
>> encoded Unicode characters in the path section of the URI.

I don't believe there is a gap.

>> However, RFC 6265 section 5.1.4
>> does not specifically state that the pre-fix match should be done on the=
 unescaped URL path.

RFC 6265 gives a complete description of how to perform a path-match.
A compliant implementation will appear to operate as if it does
exactly what the specification says to do.  Given that RFC 6265
doesn't say to unescape the path, that means you ought not unescape
the path.

>> All the browsers we tested against (IE, Chrome, Firefox) do this case-se=
nsitive prefix matching
>> before sending the cookies to the other page.

Indeed.

>> For IIS applications created with Unicode characters, IIS converts the e=
scaped characters
>> (like %0D%0C) to lower case, and they are justified since the URI spec c=
learly calls out that they
>> are equivalent.

IIS is welcome to do that by the URI spec.  However, the strings are
not treated equivalently by RFC 6265.

>> When one page re-directs to another in IIS application, the cookies set =
for the
>> first page are not presented to the application on the other pages. This=
 problem exists with
>> the cookie handling by all the browsers we tested against (IE, Chrome, F=
irefox). This is due to
>> the gap I explained above.

I don't see that as a problem.  All the implementations are
interoperating perfectly and matching the specification.  It sounds
like IIS has some undesirable behavior that its authors might want to
modify.  In any case, there's nothing to change about RFC 6265.  The
specification and the implementations are identical on this point.

Adam


> -----Original Message-----
> From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net]
> Sent: Monday, June 17, 2013 5:36 PM
> To: RFC Errata System
> Cc: abarth@eecs.berkeley.edu; barryleiba@computer.org; presnick@qti.qualc=
omm.com; Jeff.Hodges@kingsmountain.com; Dave Thaler; http-state@ietf.org
> Subject: Re: [http-state] [Technical Errata Reported] RFC6265 (3663)
>
> * RFC Errata System wrote:
>>Notes
>>-----
>>HEXDIG is defined in [RFC5234], Appendix B.1 as
>>  HEXDIG         =3D  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
>>Note that lower case a-f are not legal.
>
> As per RFC 5234:
>
>    NOTE:
>
>       ABNF strings are case insensitive and the character set for these
>       strings is US-ASCII.
>
>    Hence:
>
>          rulename =3D "abc"
>
>    and:
>
>          rulename =3D "aBc"
>
>    will match "abc", "Abc", "aBc", "abC", "ABc", "aBC", "AbC", and
>    "ABC".
> --
> Bj=F6rn H=F6hrmann =B7 mailto:bjoern@hoehrmann.de =B7 http://bjoern.hoehr=
mann.de Am Badedeich 7 =B7 Telefon: +49(0)160/4415681 =B7 http://www.bjoern=
sworld.de
> 25899 Dageb=FCll =B7 PGP Pub. KeyID: 0xA4357E78 =B7 http://www.websitedev=
.de/
>
>
>

From dthaler@microsoft.com  Mon Jun 17 17:45:55 2013
Return-Path: <dthaler@microsoft.com>
X-Original-To: http-state@ietfa.amsl.com
Delivered-To: http-state@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 57F1421F9301 for <http-state@ietfa.amsl.com>; Mon, 17 Jun 2013 17:45:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.495
X-Spam-Level: 
X-Spam-Status: No, score=-99.495 tagged_above=-999 required=5 tests=[AWL=-0.028, BAYES_00=-2.599, UNRESOLVED_TEMPLATE=3.132, 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 toTFe05QXiYn for <http-state@ietfa.amsl.com>; Mon, 17 Jun 2013 17:45:50 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0240.outbound.protection.outlook.com [207.46.163.240]) by ietfa.amsl.com (Postfix) with ESMTP id 4690C21F8F7B for <http-state@ietf.org>; Mon, 17 Jun 2013 17:45:50 -0700 (PDT)
Received: from BY2FFO11FD008.protection.gbl (10.1.15.200) by BY2FFO11HUB022.protection.gbl (10.1.14.109) with Microsoft SMTP Server (TLS) id 15.0.707.0; Tue, 18 Jun 2013 00:45:48 +0000
Received: from TK5EX14HUBC103.redmond.corp.microsoft.com (131.107.125.37) by BY2FFO11FD008.mail.protection.outlook.com (10.1.14.159) with Microsoft SMTP Server (TLS) id 15.0.707.0 via Frontend Transport; Tue, 18 Jun 2013 00:45:48 +0000
Received: from tx2outboundpool.messaging.microsoft.com (157.54.51.112) by mail.microsoft.com (157.54.86.9) with Microsoft SMTP Server (TLS) id 14.3.136.1; Tue, 18 Jun 2013 00:45:48 +0000
Received: from mail127-tx2-R.bigfish.com (10.9.14.227) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 14.1.225.23; Tue, 18 Jun 2013 00:45:14 +0000
Received: from mail127-tx2 (localhost [127.0.0.1])	by mail127-tx2-R.bigfish.com (Postfix) with ESMTP id F0C59180297	for <http-state@ietf.org.FOPE.CONNECTOR.OVERRIDE>; Tue, 18 Jun 2013 00:45:14 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21; KIP:(null); UIP:(null); (null); H:BL2PRD0310HT004.namprd03.prod.outlook.com; R:internal; EFV:INT
X-SpamScore: -18
X-BigFish: PS-18(zz98dI9371Ic89bh542Izz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz1033IL17326ah1954cbh8275bh8275dh1cd15eiz31h2a8h668h839h947hd24hf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h1ad9h1b0ah1d07h1d0ch1d2eh1d3fh1de9h1dfeh1dffh1e1dh17ej9a9j1155h)
Received-SPF: softfail (mail127-tx2: transitioning domain of microsoft.com does not designate 157.56.240.21 as permitted sender) client-ip=157.56.240.21; envelope-from=dthaler@microsoft.com; helo=BL2PRD0310HT004.namprd03.prod.outlook.com ; .outlook.com ; 
X-Forefront-Antispam-Report-Untrusted: SFV:SKI; SFS:; DIR:OUT; SFP:; SCL:-1; SRVR:BY2PR03MB269; H:BY2PR03MB269.namprd03.prod.outlook.com; LANG:en; 
Received: from mail127-tx2 (localhost.localdomain [127.0.0.1]) by mail127-tx2 (MessageSwitch) id 1371516313147312_32391; Tue, 18 Jun 2013 00:45:13 +0000 (UTC)
Received: from TX2EHSMHS013.bigfish.com (unknown [10.9.14.252])	by mail127-tx2.bigfish.com (Postfix) with ESMTP id 140C83E006F; Tue, 18 Jun 2013 00:45:13 +0000 (UTC)
Received: from BL2PRD0310HT004.namprd03.prod.outlook.com (157.56.240.21) by TX2EHSMHS013.bigfish.com (10.9.99.113) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 18 Jun 2013 00:45:12 +0000
Received: from BY2PR03MB269.namprd03.prod.outlook.com (10.242.37.11) by BL2PRD0310HT004.namprd03.prod.outlook.com (10.255.97.39) with Microsoft SMTP Server (TLS) id 14.16.324.0; Tue, 18 Jun 2013 00:45:11 +0000
Received: from BY2PR03MB269.namprd03.prod.outlook.com (10.242.37.11) by BY2PR03MB269.namprd03.prod.outlook.com (10.242.37.11) with Microsoft SMTP Server (TLS) id 15.0.702.21; Tue, 18 Jun 2013 00:45:08 +0000
Received: from BY2PR03MB269.namprd03.prod.outlook.com ([169.254.5.25]) by BY2PR03MB269.namprd03.prod.outlook.com ([169.254.5.25]) with mapi id 15.00.0702.005; Tue, 18 Jun 2013 00:45:08 +0000
From: Dave Thaler <dthaler@microsoft.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>, RFC Errata System <rfc-editor@rfc-editor.org>
Thread-Topic: [http-state] [Technical Errata Reported] RFC6265 (3663)
Thread-Index: AQHOa7sntVkCaDRzOU+sK+oTCvibR5k6oD8AgAABf9A=
Date: Tue, 18 Jun 2013 00:45:08 +0000
Message-ID: <9beb9558a94c434d84a0ccebfe4cc582@BY2PR03MB269.namprd03.prod.outlook.com>
References: <20130618002830.7DF236211A@rfc-editor.org> <7mavr8hhrqsfmcqt77181vqc3g3nl25s1d@hive.bjoern.hoehrmann.de>
In-Reply-To: <7mavr8hhrqsfmcqt77181vqc3g3nl25s1d@hive.bjoern.hoehrmann.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [2001:4898:1a:3:925:1d8f:38f:c47b]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BY2PR03MB269.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%QTI.QUALCOMM.COM$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%KINGSMOUNTAIN.COM$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%IETF.ORG$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%COMPUTER.ORG$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMX.NET$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%RFC-EDITOR.ORG$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%EECS.BERKELEY.EDU$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC103.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC103.redmond.corp.microsoft.com
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(199002)(13464003)(377454002)(189002)(24454002)(15202345002)(6806003)(74706001)(76786001)(47976001)(33646001)(69226001)(74502001)(76576001)(76796001)(31966008)(74316001)(81342001)(44976003)(54316002)(81542001)(49866001)(56816003)(80022001)(77096001)(47776003)(47736001)(23756003)(46102001)(74366001)(59766001)(76482001)(56776001)(47446002)(65816001)(51856001)(53806001)(74876001)(50466002)(74662001)(77982001)(20776003)(79102001)(63696002)(4396001)(16676001)(50986001)(16601075002)(54356001)(24736002)(3826001)(18886065002); DIR:OUT; SFP:; SCL:1; SRVR:BY2FFO11HUB022; H:TK5EX14HUBC103.redmond.corp.microsoft.com; CLIP:131.107.125.37; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-OriginatorOrg: microsoft.onmicrosoft.com
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0881A7A935
X-Mailman-Approved-At: Wed, 19 Jun 2013 15:18:24 -0700
Cc: "http-state@ietf.org" <http-state@ietf.org>, "presnick@qti.qualcomm.com" <presnick@qti.qualcomm.com>, "barryleiba@computer.org" <barryleiba@computer.org>, "abarth@eecs.berkeley.edu" <abarth@eecs.berkeley.edu>
Subject: Re: [http-state] [Technical Errata Reported] RFC6265 (3663)
X-BeenThere: http-state@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discuss HTTP State Management Mechanism <http-state.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 18 Jun 2013 00:45:55 -0000

Thanks Bjoern.

Interesting, well in that case there may be an issue in the RFC 6265 algori=
thm for path matching. =20
That's because it requires comparison for "identical" and "ab", "AB", "aB",=
 and "Ab" are not "identical".

So=20
http://www.example.com/%AB/foo
http://www.example.com/%ab/foo
http://www.example.com/%Ab/foo
http://www.example.com/%aB/foo

are all "equivalent" in the language of RFC 3986, but not "identical" and h=
ence a cookie on one will not match the others.

It may still be worth having an errata noting the above issue, even if it's=
 Hold For Document Update.

-Dave

-----Original Message-----
From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net]=20
Sent: Monday, June 17, 2013 5:36 PM
To: RFC Errata System
Cc: abarth@eecs.berkeley.edu; barryleiba@computer.org; presnick@qti.qualcom=
m.com; Jeff.Hodges@kingsmountain.com; Dave Thaler; http-state@ietf.org
Subject: Re: [http-state] [Technical Errata Reported] RFC6265 (3663)

* RFC Errata System wrote:
>Notes
>-----
>HEXDIG is defined in [RFC5234], Appendix B.1 as
>  HEXDIG         =3D  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
>Note that lower case a-f are not legal.

As per RFC 5234:

   NOTE:

      ABNF strings are case insensitive and the character set for these
      strings is US-ASCII.

   Hence:

         rulename =3D "abc"

   and:

         rulename =3D "aBc"

   will match "abc", "Abc", "aBc", "abC", "ABc", "aBC", "AbC", and
   "ABC".
--
Bj=F6rn H=F6hrmann =B7 mailto:bjoern@hoehrmann.de =B7 http://bjoern.hoehrma=
nn.de Am Badedeich 7 =B7 Telefon: +49(0)160/4415681 =B7 http://www.bjoernsw=
orld.de
25899 Dageb=FCll =B7 PGP Pub. KeyID: 0xA4357E78 =B7 http://www.websitedev.d=
e/=20




From dthaler@microsoft.com  Mon Jun 17 18:06:25 2013
Return-Path: <dthaler@microsoft.com>
X-Original-To: http-state@ietfa.amsl.com
Delivered-To: http-state@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AF1621F8C40 for <http-state@ietfa.amsl.com>; Mon, 17 Jun 2013 18:06:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.492
X-Spam-Level: 
X-Spam-Status: No, score=-99.492 tagged_above=-999 required=5 tests=[AWL=-0.025, BAYES_00=-2.599, UNRESOLVED_TEMPLATE=3.132, 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 PEO-f2JQ7ihJ for <http-state@ietfa.amsl.com>; Mon, 17 Jun 2013 18:06:20 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0244.outbound.protection.outlook.com [207.46.163.244]) by ietfa.amsl.com (Postfix) with ESMTP id F376F21F9446 for <http-state@ietf.org>; Mon, 17 Jun 2013 18:06:17 -0700 (PDT)
Received: from BL2FFO11FD027.protection.gbl (10.173.161.204) by BL2FFO11HUB013.protection.gbl (10.173.160.105) with Microsoft SMTP Server (TLS) id 15.0.707.0; Tue, 18 Jun 2013 01:06:15 +0000
Received: from TK5EX14HUBC105.redmond.corp.microsoft.com (131.107.125.37) by BL2FFO11FD027.mail.protection.outlook.com (10.173.161.106) with Microsoft SMTP Server (TLS) id 15.0.707.0 via Frontend Transport; Tue, 18 Jun 2013 01:06:15 +0000
Received: from ch1outboundpool.messaging.microsoft.com (157.54.51.114) by mail.microsoft.com (157.54.80.48) with Microsoft SMTP Server (TLS) id 14.3.136.1; Tue, 18 Jun 2013 01:06:08 +0000
Received: from mail110-ch1-R.bigfish.com (10.43.68.240) by CH1EHSOBE009.bigfish.com (10.43.70.59) with Microsoft SMTP Server id 14.1.225.23; Tue, 18 Jun 2013 01:05:05 +0000
Received: from mail110-ch1 (localhost [127.0.0.1])	by mail110-ch1-R.bigfish.com (Postfix) with ESMTP id 487AF42059C	for <http-state@ietf.org.FOPE.CONNECTOR.OVERRIDE>; Tue, 18 Jun 2013 01:05:05 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21; KIP:(null); UIP:(null); (null); H:BL2PRD0310HT001.namprd03.prod.outlook.com; R:internal; EFV:INT
X-SpamScore: -19
X-BigFish: PS-19(zz98dI9371Ic89bh542I1432Izz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz1033IL17326ah1954cbh8275bh8275dh1cd15eiz31h2a8h668h839h947hd24hf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h1ad9h1b0ah1d07h1d0ch1d2eh1d3fh1de9h1dfeh1dffh1e1dh17ej9a9j1155h)
Received-SPF: softfail (mail110-ch1: transitioning domain of microsoft.com does not designate 157.56.240.21 as permitted sender) client-ip=157.56.240.21; envelope-from=dthaler@microsoft.com; helo=BL2PRD0310HT001.namprd03.prod.outlook.com ; .outlook.com ; 
X-Forefront-Antispam-Report-Untrusted: SFV:SKI; SFS:; DIR:OUT; SFP:; SCL:-1; SRVR:BY2PR03MB270; H:BY2PR03MB269.namprd03.prod.outlook.com; LANG:en; 
Received: from mail110-ch1 (localhost.localdomain [127.0.0.1]) by mail110-ch1 (MessageSwitch) id 1371517503279594_2016; Tue, 18 Jun 2013 01:05:03 +0000 (UTC)
Received: from CH1EHSMHS040.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.252])	by mail110-ch1.bigfish.com (Postfix) with ESMTP id 413A03E005C;	Tue, 18 Jun 2013 01:05:03 +0000 (UTC)
Received: from BL2PRD0310HT001.namprd03.prod.outlook.com (157.56.240.21) by CH1EHSMHS040.bigfish.com (10.43.69.249) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 18 Jun 2013 01:05:03 +0000
Received: from BY2PR03MB270.namprd03.prod.outlook.com (10.242.37.12) by BL2PRD0310HT001.namprd03.prod.outlook.com (10.255.97.36) with Microsoft SMTP Server (TLS) id 14.16.324.0; Tue, 18 Jun 2013 01:05:02 +0000
Received: from BY2PR03MB269.namprd03.prod.outlook.com (10.242.37.11) by BY2PR03MB270.namprd03.prod.outlook.com (10.242.37.12) with Microsoft SMTP Server (TLS) id 15.0.702.21; Tue, 18 Jun 2013 01:05:00 +0000
Received: from BY2PR03MB269.namprd03.prod.outlook.com ([169.254.5.25]) by BY2PR03MB269.namprd03.prod.outlook.com ([169.254.5.25]) with mapi id 15.00.0702.005; Tue, 18 Jun 2013 01:05:00 +0000
From: Dave Thaler <dthaler@microsoft.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>, RFC Errata System <rfc-editor@rfc-editor.org>
Thread-Topic: [http-state] [Technical Errata Reported] RFC6265 (3663)
Thread-Index: AQHOa7sntVkCaDRzOU+sK+oTCvibR5k6oD8AgAABf9CAAAV0AA==
Date: Tue, 18 Jun 2013 01:04:59 +0000
Message-ID: <32084f57d08e414b99c66bcddd53e9ee@BY2PR03MB269.namprd03.prod.outlook.com>
References: <20130618002830.7DF236211A@rfc-editor.org> <7mavr8hhrqsfmcqt77181vqc3g3nl25s1d@hive.bjoern.hoehrmann.de> 
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [2001:4898:1a:3:925:1d8f:38f:c47b]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BY2PR03MB270.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%QTI.QUALCOMM.COM$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%KINGSMOUNTAIN.COM$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%IETF.ORG$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%COMPUTER.ORG$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMX.NET$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%RFC-EDITOR.ORG$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%EECS.BERKELEY.EDU$RO%2$TLS%6$FQDN%corpf5vips-237160.customer.frontbridge.com$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC105.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC105.redmond.corp.microsoft.com
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(189002)(377454002)(199002)(24454002)(13464003)(51704005)(74366001)(69226001)(46102001)(53806001)(47736001)(81542001)(76576001)(80022001)(23756003)(74662001)(47976001)(76796001)(74502001)(74706001)(33646001)(50466002)(76786001)(74876001)(47446002)(81342001)(50986001)(77096001)(63696002)(54316002)(65816001)(31966008)(51856001)(44976003)(47776003)(77982001)(56776001)(79102001)(20776003)(59766001)(54356001)(6806003)(4396001)(15202345002)(16601075002)(49866001)(56816003)(74316001)(76482001)(16676001)(24736002)(3826001)(18886065002); DIR:OUT; SFP:; SCL:1; SRVR:BL2FFO11HUB013; H:TK5EX14HUBC105.redmond.corp.microsoft.com; CLIP:131.107.125.37; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-OriginatorOrg: microsoft.onmicrosoft.com
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0881A7A935
X-Mailman-Approved-At: Wed, 19 Jun 2013 15:18:57 -0700
Cc: "http-state@ietf.org" <http-state@ietf.org>, "presnick@qti.qualcomm.com" <presnick@qti.qualcomm.com>, "barryleiba@computer.org" <barryleiba@computer.org>, "abarth@eecs.berkeley.edu" <abarth@eecs.berkeley.edu>
Subject: Re: [http-state] [Technical Errata Reported] RFC6265 (3663)
X-BeenThere: http-state@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discuss HTTP State Management Mechanism <http-state.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 18 Jun 2013 01:06:25 -0000

I checked with one of the test teams at Microsoft and got this back:

> There is a gap in the RFCs 3986 and 6265. RFC 3986 talks about the URI pa=
th and equivalence of=20
> encoded Unicode characters in the path section of the URI. However, RFC 6=
265 section 5.1.4=20
> does not specifically state that the pre-fix match should be done on the =
unescaped URL path.=20
> All the browsers we tested against (IE, Chrome, Firefox) do this case-sen=
sitive prefix matching
> before sending the cookies to the other page.
>
> For IIS applications created with Unicode characters, IIS converts the es=
caped characters=20
> (like %0D%0C) to lower case, and they are justified since the URI spec cl=
early calls out that they
> are equivalent. When one page re-directs to another in IIS application, t=
he cookies set for the
> first page are not presented to the application on the other pages. This =
problem exists with=20
> the cookie handling by all the browsers we tested against (IE, Chrome, Fi=
refox). This is due to=20
> the gap I explained above.

Hope the above info is useful.

-Dave

-----Original Message-----
From: Dave Thaler=20
Sent: Monday, June 17, 2013 5:45 PM
To: 'Bjoern Hoehrmann'; RFC Errata System
Cc: abarth@eecs.berkeley.edu; barryleiba@computer.org; presnick@qti.qualcom=
m.com; Jeff.Hodges@kingsmountain.com; http-state@ietf.org
Subject: RE: [http-state] [Technical Errata Reported] RFC6265 (3663)

Thanks Bjoern.

Interesting, well in that case there may be an issue in the RFC 6265 algori=
thm for path matching. =20
That's because it requires comparison for "identical" and "ab", "AB", "aB",=
 and "Ab" are not "identical".

So=20
http://www.example.com/%AB/foo
http://www.example.com/%ab/foo
http://www.example.com/%Ab/foo
http://www.example.com/%aB/foo

are all "equivalent" in the language of RFC 3986, but not "identical" and h=
ence a cookie on one will not match the others.

It may still be worth having an errata noting the above issue, even if it's=
 Hold For Document Update.

-Dave

-----Original Message-----
From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net]=20
Sent: Monday, June 17, 2013 5:36 PM
To: RFC Errata System
Cc: abarth@eecs.berkeley.edu; barryleiba@computer.org; presnick@qti.qualcom=
m.com; Jeff.Hodges@kingsmountain.com; Dave Thaler; http-state@ietf.org
Subject: Re: [http-state] [Technical Errata Reported] RFC6265 (3663)

* RFC Errata System wrote:
>Notes
>-----
>HEXDIG is defined in [RFC5234], Appendix B.1 as
>  HEXDIG         =3D  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
>Note that lower case a-f are not legal.

As per RFC 5234:

   NOTE:

      ABNF strings are case insensitive and the character set for these
      strings is US-ASCII.

   Hence:

         rulename =3D "abc"

   and:

         rulename =3D "aBc"

   will match "abc", "Abc", "aBc", "abC", "ABc", "aBC", "AbC", and
   "ABC".
--
Bj=F6rn H=F6hrmann =B7 mailto:bjoern@hoehrmann.de =B7 http://bjoern.hoehrma=
nn.de Am Badedeich 7 =B7 Telefon: +49(0)160/4415681 =B7 http://www.bjoernsw=
orld.de
25899 Dageb=FCll =B7 PGP Pub. KeyID: 0xA4357E78 =B7 http://www.websitedev.d=
e/=20



