Skip to content

Hyperlinks to current file/solution don't work when filepath contains spaces #2208

Open
@jacob2467

Description

@jacob2467

Title pretty much says it all. I'm running Rustlings from the terminal within RustRover, and the hyperlinks to the current file and to the solution do nothing when I click on them. It took me a while to figure out that it was because the path my Rustlings directory was in contained spaces, and sure enough, it worked just fine after moving it to a different location with no spaces in the file path. The hyperlinks for compiler errors work just fine, so I'm relatively sure this is a problem specific to Rustlings in regards to URL encoding.
This works:
/folder_without_spaces/rustlings/
This doesn't work:
/folder with spaces/rustlings/

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-sourceArea: CLI sourceC-bugCategory: BugP-highPriority: High

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions