Skip to content

Add percent-encoding to file URI conversion#231

Merged
tartarughina merged 3 commits intozed-extensions:mainfrom
tartarughina:uri-enc
Apr 30, 2026
Merged

Add percent-encoding to file URI conversion#231
tartarughina merged 3 commits intozed-extensions:mainfrom
tartarughina:uri-enc

Conversation

@tartarughina
Copy link
Copy Markdown
Collaborator

@tartarughina tartarughina commented Apr 29, 2026

Replace inline URI formatting logic with a proper utility function that handles percent-encoding of special characters in file paths. This ensures file:// URIs are correctly formatted per RFC 3986, particularly for paths with spaces and other special characters.

Address #230

Replace inline URI formatting logic with a proper utility
function that handles percent-encoding of special characters
in file paths. This ensures file:// URIs are correctly
formatted per RFC 3986, particularly for paths with spaces
and other special characters.
Clarify project root setup and workspaceFolders option
Comment thread src/util.rs
Use pre-allocated String and extend directly instead of
creating intermediate formatted strings.
@tartarughina tartarughina merged commit fc50e77 into zed-extensions:main Apr 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants