From 3d76c84b2ac700e8b5c0cb37ca3cb25cbe9e3d79 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Tue, 25 Nov 2025 15:27:28 -0500 Subject: [PATCH] PYTHON-5647 remove redundant entry for `*.mongodbgov.net` (#2625) --- pymongo/auth_shared.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pymongo/auth_shared.py b/pymongo/auth_shared.py index 605dbf261..715749243 100644 --- a/pymongo/auth_shared.py +++ b/pymongo/auth_shared.py @@ -160,7 +160,6 @@ def _build_credentials_tuple( "127.0.0.1", "::1", "*.mongo.com", - "*.mongodbgov.net", ] allowed_hosts = properties.get("ALLOWED_HOSTS", default_allowed) if properties.get("ALLOWED_HOSTS", None) is not None and human_callback is None: