mirror of https://git.tuxpa.in/a/code-server.git
a5c35af81b
The raw value is now passed back to VS Code so it can do the parsing with its own URI class rather than trying to parse using Node's url module first since that has no guarantee of working the same way. It also lets us keep the vscode-remote bit internal to VS Code. Removed the logic that keeps trying paths until it finds a valid one because it seems confusing to open a path and silently get some other path instead of an error for the one you tried to open. Now it'll just use exactly what you specified or fail trying. Fixes #1488. The problem here was that url.parse was encoding the spaces then the validation failed looking for a literal %20. |
||
---|---|---|
.. | ||
image | ||
release-image | ||
build-test.sh | ||
build.ts | ||
ci.sh | ||
clean.sh | ||
code-server.sh | ||
fmt.sh | ||
lib.sh | ||
lint.sh | ||
release.sh | ||
tsconfig.json | ||
vscode.patch | ||
vscode.sh |