bash-language-server icon indicating copy to clipboard operation
bash-language-server copied to clipboard

Missing url %-encoding

Open rwols opened this issue 5 years ago • 1 comments

I have a hashtag character (#) in one of my files:

file:///home/raoul/foo/%23xxxx/bar.sh

But when requesting things like textDocument/definition, bash-language-server returns paths that are not %-encoded:

file:///home/raoul/foo/#xxxx/bar.sh

rwols avatar Oct 26 '20 08:10 rwols

The xxxx/bar.sh is interpreted as a URL fragment (my editor ignores/discards fragments), the path is interpreted to be /home/raoul/foo/, which confuses my editor.

rwols avatar Oct 26 '20 08:10 rwols