[SERVER-80788] Prevent creation of databases with names containing disallowed characters Created: 06/Sep/23  Updated: 26/Oct/23

Status: Backlog
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Backlog - Catalog and Routing
Resolution: Unresolved Votes: 0
Labels: oldshardingemea, shardingemea-qw
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-75942 Check that database name is valid UTF... Open
Assigned Teams:
Catalog and Routing
Participants:
Story Points: 2

 Description   

The public documentation mentions that the database name cannot contain some invalid characters (note that the actual list of not allowed characters differs from Windows and Linux).

The Mongo Shell prevents the creation of database with these invalid characters, but not the drivers and not the server.

The goal of this ticket is to implement a server-side control to prevent the creation of such invalid databases.


Generated at Thu Feb 08 06:44:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.