Skip to content
Snippets Groups Projects
Closed Pathname "..." could not be decoded. This is likely caused by an invalid percent-encoding.
  • View options
  • Pathname "..." could not be decoded. This is likely caused by an invalid percent-encoding.

  • View options
  • Closed Issue created by Warren Gifford

    Created by: ggilmore

    Steps to reproduce:

    1. Run latest sourcegraph/server insiders build (https://github.com/sourcegraph/sourcegraph/commit/9e3604b92a36a8a7b2670326a37ad5493a8154f2 at this time of writing)
    2. 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:

    Screen Shot 2019-06-06 at 3 01 59 PM

    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

    Linked items 0

  • Link items together to show that they're related.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading