Page MenuHomeSoftware Heritage

Don't try to resolve search queries that don't look like a PID
Closed, ResolvedPublic

Description

In the web app search box, we send all search queries to the PID resolve endpoint, regardless of whether they look like a PID.

I think we could save ourselves some requests by matching the search query with a simple regex, or even just making sure that it starts with swh:.