URL mismatch with Sourcegraph extension
Created by: donavonelli
- Sourcegraph version: N/A
- Platform information: Sourcegraph extension
Steps to reproduce:
- user installs the extension
- user goes to set up the extension, sees that it wants the sourcegraph url
- user types in https://sourcegraph.example.com
- user gets redirected silently to https://sourcegraph.example.com/search
- user copies https://sourcegraph.example.com/search and pastes it into sourcegraph extension
- extension shows green checkmark; happy days
- user clicks “find references” on something
- generated URL includes /search where it should not
- user gets an error message about “no repo found” because the URL translated into repo:^search/something because of the extra prefix.