Operational Defect Database

BugZero found this defect 2430 days ago.

MongoDB | 399253

[SERVER-29921] Mongo connection uri doesn't support @ character in database name

Last update date:

10/30/2023

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.4.11

3.6.0-rc0

Description:

Info

"@" is a valid caracter for database names but it is not supported in shell connection uri.

Top User Comments

xgen-internal-githook commented on Mon, 27 Nov 2017 15:50:31 +0000: Author: {'name': 'Sara Golemon', 'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com'} Message: SERVER-29921 rewrite URI parser (cherry picked from commit f3bf7e7920a51df7100238a55c304ed7cd3aed1f) Branch: v3.4 https://github.com/mongodb/mongo/commit/80652b9b86a78971c06fa05497cb359930ff4661 sara.golemon commented on Thu, 21 Sep 2017 15:23:12 +0000: This change includes a complete rewrite of the mongodb:// uri parser. Every effort has been made to conform to spec and support documented formats, however given that the previous parser was loose in how it dealt with malformed connection strings, it possible that this new parser will reject connection strings which previously worked, despite being slightly malformed. xgen-internal-githook commented on Thu, 21 Sep 2017 15:19:45 +0000: Author: {'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon', 'username': 'sgolemon'} Message: SERVER-29921 rewrite URI parser Branch: master https://github.com/mongodb/mongo/commit/f3bf7e7920a51df7100238a55c304ed7cd3aed1f tyler.kaye commented on Thu, 10 Aug 2017 18:35:15 +0000: Author: {'username': 'tkaye407', 'email': 'tyler.kaye@mongodb.com', 'name': 'Tyler Kaye'} Message: SERVER-29923 Re-write the Mongo Server's URI parser and Testing Suite Branch: master https://github.com/mongodb/mongo/commit/880e3c102363611ef09b451737276c0ad9400d11 tyler.kaye commented on Mon, 10 Jul 2017 17:57:24 +0000: The regex has been completely removed and the URI parser is now up to the standards of the spec seen here (https://github.com/mongodb/specifications/blob/master/source/connection-string/connection-string-spec.rst#reference-implementation)

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...