bash-language-server
bash-language-server copied to clipboard
Missing url %-encoding
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
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.