Revision searches with a prefixed at sign breaks search result links
Created by: soyarsauce
Hiya I've been loving this feature: https://about.sourcegraph.com/blog/search-multiple-revisions/ The result links work fine when using the vscode extension, but not in sg web; I presume because of the tag being prefixed with @ tripping up the url parsing, more details below:
- Sourcegraph version: 3.34.2, also Sourcegraph.com
- Platform information: Chrome 98.0.4758.109 + Firefox 97.0.1
Steps to reproduce:
- Do a multi revision search OR single revision search with
@
in revision (tag in this instance) name
- repo:^github.com/emotion-js/emotion@main:@emotion/[email protected] file:^package.json
- repo:^github.com/emotion-js/emotion$ rev:@emotion/[email protected] file:^package.json$
- Click
package.json
result
Expected behavior:
See page/file view for package.json
file
Actual behavior:
Hit a 404 page