diff --git a/THIRD-PARTY-NOTICES b/THIRD-PARTY-NOTICES index acca60ca973..e52933651b4 100644 --- a/THIRD-PARTY-NOTICES +++ b/THIRD-PARTY-NOTICES @@ -200,3 +200,4 @@ https://github.com/mongodb/mongo-java-driver. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + diff --git a/driver-core/src/main/com/mongodb/ConnectionString.java b/driver-core/src/main/com/mongodb/ConnectionString.java index c7142e19517..1cd77140920 100644 --- a/driver-core/src/main/com/mongodb/ConnectionString.java +++ b/driver-core/src/main/com/mongodb/ConnectionString.java @@ -54,6 +54,7 @@ import java.util.stream.Stream; import static com.mongodb.MongoCredential.ALLOWED_HOSTS_KEY; +import static com.mongodb.internal.connection.DomainNameUtils.normalizeSrvAllowedHostsSuffix; import static com.mongodb.internal.connection.OidcAuthenticator.OidcValidator.validateCreateOidcCredential; import static java.lang.String.format; import static java.util.Arrays.asList; @@ -61,7 +62,6 @@ import static java.util.Collections.singletonList; import static java.util.Collections.unmodifiableList; - /** *

Represents a Connection String. * The Connection String describes the hosts to be used and options.

@@ -266,6 +266,13 @@ * *

General configuration:

*