Ivan Kozlovic
da91b06218
[FIXED] Websocket: Origin should be checked only if present
...
There are 2 options, same_origin and allowed_origins that should
apply only to webbrowsers that set the Origin http header. If
the header is not present, the server should not fail direct
clients using websocket protocol, or leafnodes.
From spec:
https://datatracker.ietf.org/doc/html/rfc6455#section-1.6
The WebSocket Protocol uses the origin model used by web browsers to
restrict which web pages can contact a WebSocket server when the
WebSocket Protocol is used from a web page. Naturally, when the
WebSocket Protocol is used by a dedicated client directly (i.e., not
from a web page through a web browser), the origin model is not
useful, as the client can provide any arbitrary origin string.
Resolves #2207
Signed-off-by: Ivan Kozlovic <ivan@synadia.com >
2021-05-11 18:37:16 -06:00
..
2021-04-16 15:21:35 -07:00
2020-11-24 23:04:50 -05:00
2020-05-19 14:15:11 -07:00
2021-04-20 11:45:08 -07:00
2021-05-06 18:45:27 -06:00
2021-04-09 15:18:06 -07:00
2021-05-07 15:51:31 +02:00
2020-03-18 10:09:23 -06:00
2021-05-07 15:51:31 +02:00
2021-05-07 15:51:31 +02:00
2020-05-29 17:56:45 -07:00
2021-04-07 11:09:47 -07:00
2021-05-10 10:44:07 -07:00
2021-05-10 17:01:31 -07:00
2021-04-28 19:28:00 -06:00
2021-03-30 02:24:02 -04:00
2020-10-31 12:56:27 -07:00
2020-11-22 20:00:37 -05:00
2020-02-25 19:53:09 -05:00
2021-05-11 13:12:10 -07:00
2021-04-15 11:34:36 -06:00
2021-05-07 18:58:40 -04:00
2021-05-05 08:27:22 -07:00
2021-05-05 08:58:14 -07:00
2020-11-17 18:57:45 +00:00
2021-05-04 20:48:14 -06:00
2021-05-04 20:48:14 -06:00
2021-05-10 19:57:17 -04:00
2021-05-11 13:12:10 -07:00
2021-05-10 17:29:24 -07:00
2021-05-07 19:35:46 +02:00
2021-05-11 13:12:10 -07:00
2021-05-07 16:50:29 -06:00
2021-05-06 18:46:32 -06:00
2021-05-04 23:04:51 -04:00
2021-05-06 18:46:32 -06:00
2021-05-06 18:46:32 -06:00
2021-04-07 11:09:47 -07:00
2021-01-14 01:14:52 -08:00
2021-01-14 01:14:52 -08:00
2021-04-12 18:10:11 -07:00
2019-05-06 15:41:38 -07:00
2021-05-03 18:43:07 -07:00
2021-05-03 18:43:07 -07:00
2021-05-06 20:02:00 -06:00
2021-05-07 11:29:46 -06:00
2021-04-07 11:09:47 -07:00
2021-01-26 17:49:58 -05:00
2021-04-19 11:43:43 -07:00
2021-05-10 16:54:33 -06:00
2021-05-07 06:27:43 -07:00
2021-01-26 15:33:39 -07:00
2021-05-06 18:45:27 -06:00
2020-06-12 10:03:47 -06:00
2021-05-07 09:13:18 -07:00
2021-04-07 11:09:47 -07:00
2021-04-06 12:43:10 -04:00
2018-10-06 14:06:14 -07:00
2020-03-23 12:25:51 -04:00
2021-05-07 15:51:31 +02:00
2021-04-20 11:45:08 -07:00
2021-03-04 17:19:50 -08:00
2021-05-05 13:17:53 -06:00
2021-05-06 18:46:32 -06:00
2021-04-20 11:45:08 -07:00
2019-11-14 20:05:32 -07:00
2018-03-15 22:31:07 -07:00
2021-04-07 11:09:47 -07:00
2019-11-14 20:05:32 -07:00
2021-04-12 10:17:13 -07:00
2019-12-12 11:58:24 -07:00
2021-04-12 18:10:11 -07:00
2021-05-11 13:12:10 -07:00
2021-01-28 17:43:22 -07:00
2021-05-06 19:41:43 -07:00
2021-05-06 18:46:32 -06:00
2021-04-07 11:09:47 -07:00
2020-05-19 14:16:03 -07:00
2020-08-14 13:37:59 -04:00
2021-05-11 18:37:16 -06:00
2021-05-11 18:37:16 -06:00