Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/test/unit/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
..
routes Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
test-plugin fix: minor fixes related to release (#5732) 2022-11-01 10:16:30 -07:00
app.test.ts refactor: remove dead code (#5188) 2022-05-10 22:44:54 +00:00
cli.test.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
constants.test.ts refactor: remove dead code (#5188) 2022-05-10 22:44:54 +00:00
heart.test.ts refactor(heart): bind class methods and make beat async (#5142) 2022-05-04 16:05:48 -07:00
http.test.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
plugin.test.ts feat: add option for disabling file downloads (#5055) 2022-04-13 09:39:05 -07:00
proxy.test.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
settings.test.ts feat: publish beta and development tags on npm (#4769) 2022-01-21 16:28:56 -07:00
socket.test.ts chore: upgrade Code to 1.66 (#5135) 2022-05-04 21:58:49 +00:00
update.test.ts chore(deps): update dependency @types/node to v16 (#5170) 2022-08-10 16:15:52 -05:00
util.test.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
wrapper.test.ts release: 4.9.0 (#5772) 2022-12-06 13:28:27 -07:00