gtache / intellij-lsp

Plugin adding Language Server Protocol support for IntelliJ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why is the client encoding spaces in filenames

fredg1 opened this issue · comments

com.github.gtache.lsp.utils.FileUtils aggressively replaces every space it finds with "%20". Why?

I can't find anything in the LSP documentation that suggests that URIs should be encoded in any way.

Additionally, file names containing "%20" themselves aren't encoded. So a file.txt and a%20file.txt are treated as the same file.