/lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016550.html

https://github.com/whatwg/whatwg.org · HTML · 83 lines · 70 code · 6 blank · 7 comment · 0 complexity · 57f42d6266bf6844e9e91178147c890d MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] WebSocket websocket-origin
  5. </TITLE>
  6. <LINK REL="Index" HREF="index.html" >
  7. <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20websocket-origin&In-Reply-To=%3Cop.uilqdmnv64w2qv%40annevk-t60.oslo.opera.com%3E">
  8. <META NAME="robots" CONTENT="index,nofollow">
  9. <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
  10. <LINK REL="Previous" HREF="016537.html">
  11. <LINK REL="Next" HREF="016551.html">
  12. </HEAD>
  13. <BODY BGCOLOR="#ffffff">
  14. <H1>[whatwg] WebSocket websocket-origin</H1>
  15. <!--htdig_noindex-->
  16. <B>Anne van Kesteren</B>
  17. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20websocket-origin&In-Reply-To=%3Cop.uilqdmnv64w2qv%40annevk-t60.oslo.opera.com%3E"
  18. TITLE="[whatwg] WebSocket websocket-origin">annevk at opera.com
  19. </A><BR>
  20. <I>Mon Oct 6 05:02:00 PDT 2008</I>
  21. <P><UL>
  22. <LI>Previous message: <A HREF="016537.html">[whatwg] Placeholder option for text input boxes
  23. </A></li>
  24. <LI>Next message: <A HREF="016551.html">[whatwg] Some media element details
  25. </A></li>
  26. <LI> <B>Messages sorted by:</B>
  27. <a href="date.html#16550">[ date ]</a>
  28. <a href="thread.html#16550">[ thread ]</a>
  29. <a href="subject.html#16550">[ subject ]</a>
  30. <a href="author.html#16550">[ author ]</a>
  31. </LI>
  32. </UL>
  33. <HR>
  34. <!--/htdig_noindex-->
  35. <!--beginarticle-->
  36. <PRE>On Mon, 29 Sep 2008 20:41:23 +0200, Anne van Kesteren &lt;<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">annevk at opera.com</A>&gt;
  37. wrote:
  38. &gt;<i> What is the reason for doing literal comparison on the websocket-origin
  39. </I>&gt;<i> and websocket-location HTTP headers? Access Control for Cross-Site
  40. </I>&gt;<i> Requests is currently following this design for
  41. </I>&gt;<i> access-control-allow-origin but sicking is complaining about so maybe it
  42. </I>&gt;<i> should be URL-without-&lt;path&gt; comparison instead. (E.g., then
  43. </I>&gt;<i> <A HREF="http://example.org">http://example.org</A> and <A HREF="http://example.org:80">http://example.org:80</A> would be equivalent.)
  44. </I>
  45. For those not following IRC,
  46. <A HREF="http://krijnhoetmer.nl/irc-logs/whatwg/20081003#l-5">http://krijnhoetmer.nl/irc-logs/whatwg/20081003#l-5</A> has more discussion on
  47. this subject. It seems like literal comparison is what I'll keep doing for
  48. access-control-allow-origin for now.
  49. (If we decide it should be a same origin check that fails if &lt;path&gt; is
  50. provided at some later point we can always change it I think as that would
  51. be a superset of the current algorithm.)
  52. --
  53. Anne van Kesteren
  54. &lt;<A HREF="http://annevankesteren.nl/">http://annevankesteren.nl/</A>&gt;
  55. &lt;<A HREF="http://www.opera.com/">http://www.opera.com/</A>&gt;
  56. </PRE>
  57. <!--endarticle-->
  58. <!--htdig_noindex-->
  59. <HR>
  60. <P><UL>
  61. <!--threads-->
  62. <LI>Previous message: <A HREF="016537.html">[whatwg] Placeholder option for text input boxes
  63. </A></li>
  64. <LI>Next message: <A HREF="016551.html">[whatwg] Some media element details
  65. </A></li>
  66. <LI> <B>Messages sorted by:</B>
  67. <a href="date.html#16550">[ date ]</a>
  68. <a href="thread.html#16550">[ thread ]</a>
  69. <a href="subject.html#16550">[ subject ]</a>
  70. <a href="author.html#16550">[ author ]</a>
  71. </LI>
  72. </UL>
  73. <hr>
  74. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  75. mailing list</a><br>
  76. <!--/htdig_noindex-->
  77. </body></html>