Re: [hybi] WS URLs
Tobias Oberstein <tobias.oberstein@tavendo.de> Sat, 22 October 2011 21:57 UTC
Return-Path: <tobias.oberstein@tavendo.de>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 260E421F84D3 for <hybi@ietfa.amsl.com>; Sat, 22 Oct 2011 14:57:08 -0700 (PDT)
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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w5V8lCE7St7B for <hybi@ietfa.amsl.com>; Sat, 22 Oct 2011 14:57:07 -0700 (PDT)
Received: from EXHUB020-5.exch020.serverdata.net (exhub020-5.exch020.serverdata.net [206.225.164.32]) by ietfa.amsl.com (Postfix) with ESMTP id 1BB5821F891D for <hybi@ietf.org>; Sat, 22 Oct 2011 14:57:07 -0700 (PDT)
Received: from EXVMBX020-12.exch020.serverdata.net ([169.254.3.230]) by EXHUB020-5.exch020.serverdata.net ([206.225.164.32]) with mapi; Sat, 22 Oct 2011 14:57:06 -0700
From: Tobias Oberstein <tobias.oberstein@tavendo.de>
To: "hybi@ietf.org" <hybi@ietf.org>
Date: Sat, 22 Oct 2011 14:57:04 -0700
Thread-Topic: WS URLs
Thread-Index: AcyRAfMcynScsoopThG4iaBqB+cA5QAAwnxA
Message-ID: <634914A010D0B943A035D226786325D42D0B036D38@EXVMBX020-12.exch020.serverdata.net>
References: <634914A010D0B943A035D226786325D42D0B036D37@EXVMBX020-12.exch020.serverdata.net>
In-Reply-To: <634914A010D0B943A035D226786325D42D0B036D37@EXVMBX020-12.exch020.serverdata.net>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: de-DE, en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [hybi] WS URLs
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 22 Oct 2011 21:57:08 -0000
sorry, I missed the posts by Peter and Julian http://www.ietf.org/mail-archive/web/hybi/current/msg09243.html So 1. - 4. are invalid, and 5. - 8. are valid? What about failing the handshake vs ignoring a fragment component (introduced via non-escaped #)? > -----Ursprüngliche Nachricht----- > Von: hybi-bounces@ietf.org [mailto:hybi-bounces@ietf.org] Im Auftrag von > Tobias Oberstein > Gesendet: Samstag, 22. Oktober 2011 23:40 > An: hybi@ietf.org > Betreff: [hybi] WS URLs > > 2 short questions .. first one is part of http://bugs.python.org/issue13244 > > Which of the following URLs are valid WS URLs? > > 1. ws://example.com/something#somewhere > 2. ws://example.com/something#somewhere/ > 3. ws://example.com/something#somewhere/foo > 4. ws://example.com/something?query=foo#bar > 5. ws://example.com/something%23somewhere > 6. ws://example.com/something%23somewhere/ > 7. ws://example.com/something%23somewhere/foo > 8. ws://example.com/something?query=foo%23bar > > %23 = # "percentage escaped" > > Hybi-17 spec: > > "Fragment identifiers are meaningless in the context of WebSocket URIs, and > MUST NOT be used on these URIs. The character "#" in URIs MUST be > escaped as %23 if used as part of the query component." > > "path = <path-abempty, defined in [RFC3986], Section 3.3>" > > http://tools.ietf.org/html/rfc3986: > > "The path is terminated by the first question mark ("?") or number sign ("#") > character, or by the end of the URI." > > == > > When an invalid WS URLs is received in the client request during opening > handshake, how is the server supposed to react? > > Fail the handshake (i.e. http 400 Bad request), or "ignore" invalid parts (like > fragment component)? > _______________________________________________ > hybi mailing list > hybi@ietf.org > https://www.ietf.org/mailman/listinfo/hybi
- [hybi] WS URLs Tobias Oberstein
- Re: [hybi] WS URLs Tobias Oberstein
- Re: [hybi] WS URLs Alexey Melnikov
- Re: [hybi] WS URLs Tobias Oberstein
- Re: [hybi] WS URLs Julian Reschke
- Re: [hybi] WS URLs Bjoern Hoehrmann