grafana / grafana/jsonnet-language-server

Invalid URL escape "%2B"

Open
#99 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
223
Forks
33
PR merge metrics
No merged PRs in 30d

Description

In the last week or so the language server has stopped working for me. I connect to a desktop from my laptop using Remote SSH and do most of my development this way. Recently, the language server has been going into a crash loop with an error that looks like this:

```
panic: failed to parse request URI: parse "vscode-remote://ssh-remote%2Bwork/home/josh/work/catalyst-world": invalid URL escape "%2B"
```

Where, `ssh-remote+work` represents an SSH remote session to the `work` profile, and `/home/josh/work/catalyst-world` being the current working directory. I'm not sure if this format has changed recently, as I've successfully been using this language server for a few months now, but for one reason or another it's stopped accepting this URI format.

Any help in resolving this issue is appreciated :)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the language server's request URI parsing and reproduce the crash using the reported vscode-remote:// URI containing "%2B". Done means the language server accepts this Remote SSH URI without entering a crash loop, with a regression test if the existing test structure supports it.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.