Skip to content
Snippets Groups Projects
Verified Commit 7ceba5a5 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

browse: Fix redirect issue in search interface

When searching for an origin URL, the search interface redirects
to its browse interface if the origin URL exists in SWH database.

Nevertheless, it the origin could not be archived, the redirection
was still done leading to a 404 error so ensure to check the origin
has a snapshot before redirecting.

Fixes #4828.
parent 6f4809e3
No related branches found
No related tags found
1 merge request!1385browse: Disable redirect when searching for a URL with no visit
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment