diff --git a/zephyr/views.py b/zephyr/views.py index 29bb8353ca..2a52a675a6 100644 --- a/zephyr/views.py +++ b/zephyr/views.py @@ -415,7 +415,9 @@ def handle_openid_errors(request, issue, openid_response=None): prereg_user.email = google_email prereg_user.save() return redirect("".join(( - Confirmation.objects.get_link_for_object(prereg_user), + "/", + # Split this so we only get the part after the / + Confirmation.objects.get_link_for_object(prereg_user).split("/", 3)[3], '?gafyd_name=', urllib.quote_plus(full_name)))) else: