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)