-
- Downloads
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
Showing
- swh/web/api/views/origin.py 8 additions, 2 deletionsswh/web/api/views/origin.py
- swh/web/common/archive.py 27 additions, 6 deletionsswh/web/common/archive.py
- swh/web/common/origin_visits.py 8 additions, 5 deletionsswh/web/common/origin_visits.py
- swh/web/tests/api/views/test_origin.py 34 additions, 6 deletionsswh/web/tests/api/views/test_origin.py
Loading
Please register or sign in to comment