code-server/src/node/routes
Joe Previte 5c61318592
refactor: only accept string in pathToFsPath
CodeQL caught a path where we were passing in req.query.path
to pathToFsPath, which may not have been a string.

So we refactored some things to ensure we only pass it a string
which also let us change the parameter type to string
instead of string | string[].
2021-07-21 11:11:59 -07:00
..
apps.ts plugin: Fixes for CI 2020-11-06 10:13:01 -05:00
domainProxy.ts refactor: make ensureAuthenticated async 2021-06-08 14:33:14 -07:00
health.ts Fix health socket not getting client messages 2021-02-16 15:01:46 -06:00
index.ts refactor: make wsProxy async 2021-06-08 14:33:14 -07:00
login.ts fix(http): escape req.query.to in replaceTemplates 2021-07-01 10:43:37 -07:00
logout.ts Fix incorrect logout base (#3611) 2021-06-15 15:11:01 -05:00
pathProxy.ts refactor: make ensureAuthenticated async 2021-06-08 14:33:14 -07:00
static.ts refactor: make ensureAuthenticated async 2021-06-08 14:33:14 -07:00
update.ts vscode: Show notification when upgrade is available 2020-11-24 12:13:21 -05:00
vscode.ts refactor: only accept string in pathToFsPath 2021-07-21 11:11:59 -07:00