code-server/src/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
..
apps.ts plugin: Fixes for CI 2020-11-06 10:13:01 -05:00
domainProxy.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
errors.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
health.ts Fix health socket not getting client messages 2021-02-16 15:01:46 -06:00
index.ts Make sure heartbeat isActive resolves 2023-02-08 11:43:40 -09:00
login.ts chore: bump limiter from 1.1.5 to 2.1.0 (#6001) 2023-02-06 13:12:57 -06:00
logout.ts Fix relative paths (#4594) 2021-12-08 15:52:15 -06:00
pathProxy.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
update.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
vscode.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00