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/src/common
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
..
emitter.ts fix(testing): revert change & fix playwright tests (#4310) 2021-10-28 15:27:17 -05:00
http.ts Add origin checks to web sockets (#6048) 2023-03-03 03:12:34 -06:00
util.ts refactor: remove dead code (#5188) 2022-05-10 22:44:54 +00:00