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/utils
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
..
constants.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
cssStub.ts refactor: create test/utils 2021-03-12 12:00:56 -07:00
globalE2eSetup.ts chore: upgrade Code to 1.74.1 (#5909) 2022-12-22 10:25:28 -07:00
globalUnitSetup.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
helpers.ts chore: upgrade Code to 1.74.1 (#5909) 2022-12-22 10:25:28 -07:00
httpserver.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
integration.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
runCodeServerCommand.ts feat: add test for EXTENSIONS_GALLERY (#5432) 2022-08-09 20:41:37 +00:00
wtfnode.ts refactor: create test/utils 2021-03-12 12:00:56 -07:00