vscode-remote-release
vscode-remote-release copied to clipboard
Cannot open devcontainer in directory with "%20" in the name
trafficstars
Issue Type: Bug
- Clone a git repo that includes a dev container
- Rename the git directory to contain "%20" in the name (e.g. "my%20repo")
- Open the project folder with VS Code (either "Open folder" or by using
code .from the commandline) - If not automatically prompted, use the
Remote - Containersextension menu on the bottom-left corner to "Reopen folder in container". Else, if prompted, click to "Reopen in container". - While the dev container is starting up, you should see the error message: "Workspace does not exist".
This issue seems like VS Code, or the "Remote - Containers" extension, is decoding the "%20" encoded character and then fails upon searching for the decoded version of the workspace name (e.g. searching for "my repo" instead of "my%20repo"). When attempting to open a new terminal after seeing the error, the error message seems to agree with this as well.
Please see the below image:

Extension version: 0.241.3 VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:32:39.000Z) OS version: Darwin arm64 21.6.0 Restricted Mode: No Remote OS version: Linux arm64 5.10.104-linuxkit
System Info
| Item | Value |
|---|---|
| CPUs | Apple M1 Pro (10 x 24) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled |
| Load (avg) | 3, 3, 4 |
| Memory (System) | 32.00GB (0.19GB free) |
| Process Argv | . --crash-reporter-id 07f3b365-4298-4357-8a41-841d48d0e3f7 |
| Screen Reader | no |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | Dev Container: Node.js & TypeScript |
| OS | Linux arm64 5.10.104-linuxkit |
| CPUs | unknown (5 x 0) |
| Memory (System) | 7.65GB (1.97GB free) |
| VM | 0% |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30529770
vsclangdc:30486549
c4g48928:30535728