From 37b9a4c29b55acc306df75795823ae92a9f387f2 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 29 May 2024 07:56:48 -0500 Subject: [PATCH] Disallow comma character in authMechanismProperties connection string value --- test/auth/legacy/connection-string.json | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/test/auth/legacy/connection-string.json b/test/auth/legacy/connection-string.json index f8fe0aeb51..813b55bd77 100644 --- a/test/auth/legacy/connection-string.json +++ b/test/auth/legacy/connection-string.json @@ -557,21 +557,6 @@ } } }, - { - "description": "should handle a complicated url-encoded TOKEN_RESOURCE (MONGODB-OIDC)", - "uri": "mongodb://user@localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:azure,TOKEN_RESOURCE:abc%2Cd%25ef%3Ag%26hi", - "valid": true, - "credential": { - "username": "user", - "password": null, - "source": "$external", - "mechanism": "MONGODB-OIDC", - "mechanism_properties": { - "ENVIRONMENT": "azure", - "TOKEN_RESOURCE": "abc,d%ef:g&hi" - } - } - }, { "description": "should url-encode a TOKEN_RESOURCE (MONGODB-OIDC)", "uri": "mongodb://user@localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:azure,TOKEN_RESOURCE:a$b",