Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using "vscode-remote://attached-container" url from wsl erroneously converts slashes to backslashes #9875

Open
Spongman opened this issue May 11, 2024 · 0 comments
Assignees
Labels
containers Issue in vscode-remote containers

Comments

@Spongman
Copy link

Spongman commented May 11, 2024

Type: Bug

  • install dev containers extension
  • install remote-wsl extension
  • connect vscode to wsl guest
  • create a container with id $CONTAINER_ID
  • in wsl guest execute:
    code --file-uri vscode-remote://attached-container+$(printf "$CONTAINER_ID" | xxd -p -1000)/server/ui

EXPECTED: windows vscode to open, connect to container, and open DIRECTORY server/ui

RESULT: windows vscode opens, connects to container, but opens new FILE named \server\ui

somebody somewhere is converting / to \ and it's breaking it.

Extension version: 0.25.0
VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 47.85GB (11.68GB free)
Process Argv
Screen Reader no
VM 0%
Item Value
Remote WSL: CentOS7
OS Linux x64 5.15.146.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)
Memory (System) 23.40GB (13.04GB free)
VM 0%
Item Value
Remote WSL: Rocky9
OS Linux x64 5.15.146.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)
Memory (System) 23.40GB (13.04GB free)
VM 0%
Item Value
Remote WSL: CentOS7
OS Linux x64 5.15.146.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)
Memory (System) 23.40GB (13.04GB free)
VM 0%
@VSCodeTriageBot VSCodeTriageBot added the containers Issue in vscode-remote containers label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Issue in vscode-remote containers
Projects
None yet
Development

No branches or pull requests

4 participants