code-server/src/node
Asher d477972c68
Add origin checks to web sockets (#6048)
* Move splitOnFirstEquals to util

I will be making use of this to parse the forwarded header.

* Type splitOnFirstEquals with two items

Also add some test cases.

* Check origin header on web sockets

* Update changelog with origin check

* Fix web sockets not closing with error code
2023-03-03 03:12:34 -06:00
..
i18n feat: add i18n in login page (#5947) 2023-01-13 17:42:49 +00:00
routes Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
app.ts refactor: remove dead code (#5188) 2022-05-10 22:44:54 +00:00
cli.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
constants.ts refactor: remove dead code (#5188) 2022-05-10 22:44:54 +00:00
entry.ts chore: move to patches (#4997) 2022-03-22 15:07:14 -05:00
heart.ts refactor(heart): bind class methods and make beat async (#5142) 2022-05-04 16:05:48 -07:00
http.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
main.ts Remove deprecated --link (#6018) 2023-02-13 16:52:48 -06:00
plugin.ts release: 4.8.2 (#5743) 2022-11-02 14:34:38 -07:00
proxy.ts Update proxy path passthrough documentation 2021-02-05 11:44:38 -05:00
settings.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
socket.ts chore(deps): update dependency @types/node to v16 (#5170) 2022-08-10 16:15:52 -05:00
update.ts fix: infinite proxy loop (#4676) 2022-01-03 18:19:21 -06:00
util.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
wrapper.ts release: 4.9.0 (#5772) 2022-12-06 13:28:27 -07:00
wsRouter.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00