Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
zilencer: Do not follow redirects when verifying the transfer challenge.
Alex Vandiver7c258e7d9b73
diff --git a/zilencer/views.py b/zilencer/views.pyindex f13afbffd41..c941defa51d 100644--- a/zilencer/views.py+++ b/zilencer/views.py@@ -402,7 +402,7 @@ def verify_registration_transfer_challenge_ack_endpoint(exception_and_error_message: tuple[Exception | None, str] | None = Nonetry:- response = session.get(url)+ response = session.get(url, allow_redirects=False)if check_transfer_challenge_response_secret_not_prepared(response):logger.info("verify_registration_transfer:host:%s|secret_not_prepared", hostname)