1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-05 07:13:06 +08:00
code-server/test/unit/node/routes
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
..
errors.test.ts Escape HTML from messages in error page (#4430) 2021-11-09 14:39:54 -07:00
health.test.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
login.test.ts feat: add i18n in login page (#5947) 2023-01-13 17:42:49 +00:00
static.test.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
vscode.test.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00