HomeSoftware Heritage

api/origin: Do not attempt to lookup similar origin URLs

Description

api/origin: Do not attempt to lookup similar origin URLs

Web API should be as dumb as possible and should not attempt to
lookup an origin with and without trailing slash in its URL.

rDWAPPS56fb869644ad45e0648f4ad45c07619d468019b4 introduced that
regression but that process should only be performed in a Web
UI context.

Related to D7980

Details

Provenance
anlambertAuthored on Jun 14 2022, 1:45 PM
anlambertPushed on Jun 30 2022, 3:02 PM
Differential Revision
D7988: api/origin: Do not attempt to lookup similar origin URLs
Parents
rDWAPPS70c242f2d98c: requirements-test: Ensure pinned mypy version is used with tox
Branches
Unknown
Tags
Unknown
Build Status
Buildable 30163
Build 47146: test-and-buildJenkins console · Jenkins