<span class="Apple-style-span" style="-webkit-text-stroke: none; -webkit-transform-origin-z: 0px; -webkit-transform-style: 50%; ">On Mon, Dec 7, 2009 at 3:21 PM, Ian Hickson <span dir="ltr"><<a href="mailto:ian@hixie.ch">ian@hixie.ch</a>></span> wrote:</span><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Mon, 7 Dec 2009, Fumitoshi Ukai (榈~\椋兼~V~G鎫U~O) wrote:<br>
><br>
> At 1.130 of "The Web Socket API", it adds the sub-protocol name must be an<br>
> ASCII string with no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR)<br>
> characters in it.<br>
> But "The Web Socket protocol" 3.1 Parsing Web Socket URLs, says<br>
> 1. If /protocol/ is specified but is either the empty string or<br>
> contains characters that are not in the range U+0021 to U+007E,<br>
> then fail this algorithm.<br>
<br>
</div>Woops, that step is a copy-and-paste mistake from a past version. My<br>
apologies. I've removed that sentence; it should not have been present.<br></blockquote><div><br></div><div>Thanks for fixing.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Control characters are allowed (though using them would be silly).<br></blockquote><div><br></div><div>Why are control characters (except LF and CR) allowed?</div><div><br></div><div>-- </div><div>ukai</div><div><br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
--<br>
Ian Hickson U+1047E )\._.,--....,'``. fL<br>
<a href="http://ln.hixie.ch/" target="_blank">http://ln.hixie.ch/</a> U+263A /, _.. \ _\ ;`._ ,.<br>
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'</font></blockquote></div><br>