Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rust: URI type implementation is non-compliant with LSP specification #442

Copy link
Copy link
@imumesh18

Description

@imumesh18
Issue body actions

Our current URI handling uses the rust-url crate, which implements the WHATWG URL spec. However, the Language Server Protocol (LSP) specification explicitly requires URI's to follow RFC 3986.

This causes parsing errors for valid file paths that contain special characters, such as [ or {, which are common in modern frontend frameworks (e.g., Next.js, SvelteKit).

Ref: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#uri.

tekumara

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.