Pathname "..." could not be decoded. This is likely caused by an invalid percent-encoding.
Created by: ggilmore
Steps to reproduce:
- Run latest
sourcegraph/server
insiders
build (https://github.com/sourcegraph/sourcegraph/commit/9e3604b92a36a8a7b2670326a37ad5493a8154f2 at this time of writing) - Add a github.com external service with the https://github.com/ggilmore/q-test repository
{
"url": "https://github.com",
// token: GitHub API access token. Visit https://github.com/settings/tokens/new?scopes=repo&description=Sourcegraph
// to create a token with access to public and private repositories
"token": "REDACTED",
"repositoryQuery": [
"none"
],
"repos": [
"ggilmore/q-test"
],
}
Run a search for "test": http://localhost:7080/search?q=test
See the following error:
Pathname "/github.com/ggilmore/q-test@82c0b5724db782d5983ac8aace4635762266e892/-/blob/Geoffrey's random queries.32r242442bf/% token.4288249258.sql" could not be decoded. This is likely caused by an invalid percent-encoding.
Visiting http://localhost:7080/github.com/ggilmore/q-test directly shows the same error message.
I am assuming that this is some URL decoding issue?
Assigning to @felixfbecker for triaging