aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/routes.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py
index 036dcea0..1213ce11 100644
--- a/python/fatcat_web/routes.py
+++ b/python/fatcat_web/routes.py
@@ -618,10 +618,14 @@ def generic_search():
return redirect(url_for('release_lookup', pmcid=clean_pmcid(query)))
if clean_sha1(query):
return redirect(url_for('file_lookup', sha1=clean_sha1(query)))
+ if clean_sha256(query):
+ return redirect(url_for('file_lookup', sha256=clean_sha256(query)))
if clean_issn(query):
return redirect(url_for('container_lookup', issnl=clean_issn(query)))
if clean_isbn13(query):
return redirect(url_for('release_lookup', isbn13=clean_isbn13(query)))
+ if clean_arxiv_id(query):
+ return redirect(url_for('release_lookup', arxiv=clean_arxiv_id(query)))
if clean_orcid(query):
return redirect(url_for('creator_lookup', orcid=clean_orcid(query)))