Closed chrismwendt closed 5 years ago
Previously, URIs would be rewritten by finding the first dep that is a prefix by character of the URI's path. This changes it to prefix by path component to avoid considering kubernetes/api a prefix of kubernetes/apimachinery.
kubernetes/api
kubernetes/apimachinery
Fixes https://github.com/sourcegraph/sourcegraph/issues/139
Previously, URIs would be rewritten by finding the first dep that is a prefix by character of the URI's path. This changes it to prefix by path component to avoid considering
kubernetes/api
a prefix ofkubernetes/apimachinery
.Fixes https://github.com/sourcegraph/sourcegraph/issues/139