Re: [hybi] [Technical Errata Reported] RFC6455 (4398)

Barry Leiba <barryleiba@computer.org> Wed, 24 June 2015 12:09 UTC

Return-Path: <barryleiba@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD4C71A89F9 for <hybi@ietfa.amsl.com>; Wed, 24 Jun 2015 05:09:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sYwbb-jT0XrS for <hybi@ietfa.amsl.com>; Wed, 24 Jun 2015 05:09:15 -0700 (PDT)
Received: from mail-vn0-x22f.google.com (mail-vn0-x22f.google.com [IPv6:2607:f8b0:400c:c0f::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E52E1A89E9 for <hybi@ietf.org>; Wed, 24 Jun 2015 05:09:15 -0700 (PDT)
Received: by vnbf129 with SMTP id f129so5991949vnb.4 for <hybi@ietf.org>; Wed, 24 Jun 2015 05:09:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=A1MymtXDBI8EgqBBdsokidVyVS9XSOv43PM+yDwARwU=; b=ZrxU5EWqOfQgRjy0tfP9NO/JUDGRMiQmw8gOJntoAgUSbPIcMPQtG0g/aISUHphBBk T2dWna4fbMynxjF7rzOUWC7IPt53sRtT9gYmEjE+HlASm51AdYXuGMtDctZ4QV8oUzAG DCeKR1UL0Zlnu7SeT7tHVcMgUwBf9g2pwj4/A4ihdHpIMhMfnHkbFM6OixikGcaiWrx+ VC46hZ6PpHiAoztF20F9vFTS+UEWnknhkE2ZmgSd0+4WUAAj+TZcx40ECCludorP5jZ4 wQYnH7JVVU2PdJcrdiFxoIupJZtnnv6UisS6oPpLt4xWj6dZVojblb+BdFMpX5wDFI5u XsYw==
MIME-Version: 1.0
X-Received: by 10.52.71.203 with SMTP id x11mr36985212vdu.48.1435147754506; Wed, 24 Jun 2015 05:09:14 -0700 (PDT)
Sender: barryleiba@gmail.com
Received: by 10.31.88.196 with HTTP; Wed, 24 Jun 2015 05:09:14 -0700 (PDT)
In-Reply-To: <20150624083637.F377F180206@rfc-editor.org>
References: <20150624083637.F377F180206@rfc-editor.org>
Date: Wed, 24 Jun 2015 09:09:14 -0300
X-Google-Sender-Auth: IeIKk96pVHaH4A9wwGtDCIS46Xg
Message-ID: <CALaySJK9AVyiSG+yU2G2aDoxLWeeE_pcF3b6znwAuw1MQ-zang@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: RFC Errata System <rfc-editor@rfc-editor.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/SfrO4v5B8dU2ah-FoLKCd6RZ9V8>
Cc: "hybi@ietf.org" <hybi@ietf.org>, "ifette+ietf@google.com" <ifette+ietf@google.com>, mkwst@google.com, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Subject: Re: [hybi] [Technical Errata Reported] RFC6455 (4398)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Jun 2015 12:09:16 -0000

This seems sensible, and seems like it ought to be "Held for Document
Update", yes?  Unless this truly is something that was meant to be in
the document originally, and was accidentally left out... which I
don't think is the case.

Barry

On Wed, Jun 24, 2015 at 5:36 AM, RFC Errata System
<rfc-editor@rfc-editor.org> wrote:
> The following errata report has been submitted for RFC6455,
> "The WebSocket Protocol".
>
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata_search.php?rfc=6455&eid=4398
>
> --------------------------------------
> Type: Technical
> Reported by: Mike West <mkwst@google.com>
>
> Section: 4.1
>
> Original Text
> -------------
> 1. The components of the WebSocket URI passed into this algorithm
>    (/host/, /port/, /resource name/, and /secure/ flag) MUST be
>    valid according to the specification of WebSocket URIs specified
>    in Section 3.  If any of the components are invalid, the client
>    MUST _Fail the WebSocket Connection_ and abort these steps.
>
> Corrected Text
> --------------
> 1. The components of the WebSocket URI passed into this algorithm
>    (/host/, /port/, /resource name/, and /secure/ flag) MUST be
>    valid according to the specification of WebSocket URIs specified
>    in Section 3.  If any of the components are invalid, the client
>    MUST _Fail the WebSocket Connection_ and abort these steps.
>
> 2. If secure is false, and the algorithm in Mixed Content's "§5.1
>    Does settings object restrict mixed content?" returns Restricts
>    Mixed Content when applied to client's entry script's relevant
>    settings object's, then the client MUST fail the WebSocket
>    connection and abort the connection.
>
> Notes
> -----
> This change is suggested by the W3C's "Mixed Content" document (https://w3c.github.io/webappsec/specs/mixedcontent/#websockets-integration), and will bring WebSockets' behaviors into line with XMLHttpRequest, EventSource, and Fetch, all of which act as though there was a network error when blocking a mixed content request, rather than throwing a SecurityError exception.
>
> Instructions:
> -------------
> This erratum 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.
>
> --------------------------------------
> RFC6455 (draft-ietf-hybi-thewebsocketprotocol-17)
> --------------------------------------
> Title               : The WebSocket Protocol
> Publication Date    : December 2011
> Author(s)           : I. Fette, A. Melnikov
> Category            : PROPOSED STANDARD
> Source              : BiDirectional or Server-Initiated HTTP APP
> Area                : Applications
> Stream              : IETF
> Verifying Party     : IESG
>