From 3a28ab127aa1ac2061412f1d97e0df2133592604 Mon Sep 17 00:00:00 2001 From: Edgar Costa Date: Mon, 9 Dec 2024 14:51:21 +1300 Subject: [PATCH] no need for redirect, as we are expected to return a url --- lmfdb/abvar/fq/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmfdb/abvar/fq/main.py b/lmfdb/abvar/fq/main.py index ce8076c294..1f869f5c4a 100644 --- a/lmfdb/abvar/fq/main.py +++ b/lmfdb/abvar/fq/main.py @@ -146,7 +146,7 @@ def url_for_label(label): validate_label(label) except ValueError as err: flash_error("%s is not a valid label: %s.", label, str(err)) - return redirect(url_for(".abelian_varieties")) + return url_for(".abelian_varieties") g, q, iso = split_label(label) return url_for(".abelian_varieties_by_gqi", g=g, q=q, iso=iso)