Page MenuHomeSoftware Heritage

Search UI: redirect to browse page if input matches an archived origin URL
Closed, ResolvedPublic


When a user enters the exact URL of an origin archived by Software Heritage, he should be immediately redirected
to the browse UI of the origin instead of displaying a list of search results.

We could add a processing similar to what we do when a SWHID is entered in the search input,
except in that case we should check if input text looks like a valid URL.
If it is we can do a lookup of the origin URL using the Web API and redirect to browse page if
the origin is found.