Skip to content

fix(jetbrains): decode URI-encoded spaces in Windows project paths - #13142

Open
tonycoder-hub wants to merge 1 commit into
continuedev:mainfrom
tonycoder-hub:cursor/fix-jetbrains-uri-encoded-project-paths-4603
Open

fix(jetbrains): decode URI-encoded spaces in Windows project paths#13142
tonycoder-hub wants to merge 1 commit into
continuedev:mainfrom
tonycoder-hub:cursor/fix-jetbrains-uri-encoded-project-paths-4603

Conversation

@tonycoder-hub

Copy link
Copy Markdown

Fixes #13134.

JetBrains passed file:///C:/Unity%20Projects/... and FileUtils did not percent-decode, so writes landed in a literal Unity%20Projects directory.

URI paths are now decoded before VFS lookup. IntelliJ unit tests: 57 passed.

…ilesystem

Project paths containing spaces reach the plugin as encoded URIs (e.g.
file:///C:/Unity%20Projects/My%20Project). VfsUtilCore.urlToPath and
VirtualFileManager.findFileByUrl do not percent-decode, so writes created
literal "%20" directories and lookups failed to match existing files.

Resolve URIs through UriUtils, which decodes the path, and make parseUri
decode authority-form Windows URIs as well.

Fixes continuedev#13134

Co-authored-by: Tony Coder <407243179@qq.com>
@tonycoder-hub
tonycoder-hub requested a review from a team as a code owner August 17, 2026 09:06
@tonycoder-hub
tonycoder-hub requested review from sestinj and removed request for a team August 17, 2026 09:06
@github-actions

github-actions Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@tonycoder-hub
tonycoder-hub force-pushed the cursor/fix-jetbrains-uri-encoded-project-paths-4603 branch from ade930b to cb2dda5 Compare August 17, 2026 11:14
@tonycoder-hub

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JetBrains (Rider): project paths containing spaces are URI-encoded (%20) when creating the project .continue directory on Windows

1 participant