Skip to content

Resource endpoint failed to process files with spaces in the path #1477

@conwnet

Description

@conwnet

OpenVSX provides a Resource endpoint to retrieve file content: /vscode/unpkg/{namespaceName}/{extensionName}/{version}/**

I found that when the file path contains spaces, this endpoint cannot handle the request correctly, resulting in a 404 error.

For example: https://open-vsx.org/vscode/unpkg/sdras/night-owl/2.1.1/extension/themes/Night%20Owl-color-theme.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working correctly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions